Variable: consult-eglot-embark-mode

consult-eglot-embark-mode is a customizable variable defined in consult-eglot-embark.el.

Value

nil

Documentation

Non-nil if Consult-Eglot-Embark mode is enabled.

See the consult-eglot-embark-mode(var)/consult-eglot-embark-mode(fun) command for a description of this minor mode. Setting this variable directly does not take effect; either customize it (see the info node (emacs)Easy Customization) or call the function consult-eglot-embark-mode(var)/consult-eglot-embark-mode(fun).

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/lqv3gbiaac7mfhwjvrkr7l56gm15is3y-emacs-packages-deps/share/emacs/site-lisp/elpa/consult-eglot-embark-20250831.925/consult-eglot-embark.el
;;;###autoload
(define-minor-mode consult-eglot-embark-mode
  "Setup `consult-eglot' actions for embark."
  :global t
  :group 'consult-eglot-embark
  (progn
    (defvar embark-default-action-overrides)
    (defvar embark-exporters-alist)

    (if consult-eglot-embark-mode
        (progn
          (setf (alist-get 'consult-eglot-symbols embark-default-action-overrides)
                #'consult-eglot-embark-goto-symbol)
          (setf (alist-get 'consult-eglot-symbols embark-exporters-alist)
                #'consult-eglot-embark-export-grep))
      (setq embark-default-action-overrides
            (assq-delete-all 'consult-eglot-symbols embark-default-action-overrides)
            embark-exporters-alist
            (assq-delete-all 'consult-eglot-symbols embark-exporters-alist)))))