Commit 25e95b5d authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen
Browse files

global-eldoc-mode doc fix

* lisp/emacs-lisp/eldoc.el (global-eldoc-mode): Be more
specific about what "applicable" means (bug#23071).
parent d0b0cd66
...@@ -204,8 +204,16 @@ expression point is on." ...@@ -204,8 +204,16 @@ expression point is on."
;;;###autoload ;;;###autoload
(define-minor-mode global-eldoc-mode (define-minor-mode global-eldoc-mode
"Enable `eldoc-mode' in all buffers where it's applicable." "Toggle Global Eldoc mode on or off.
:group 'eldoc :global t With a prefix argument ARG, enable Global Eldoc mode if ARG is
positive, and disable it otherwise. If called from Lisp, enable
the mode if ARG is omitted or nil, and toggle it if ARG is toggle.
If Global Eldoc mode is on, `eldoc-mode' will be enabled in all
buffers where it's applicable. These are buffers that have modes
that have enabled eldoc support. See `eldoc-documentation-function'."
:group 'eldoc
:global t
:initialize 'custom-initialize-delay :initialize 'custom-initialize-delay
:init-value t :init-value t
(setq eldoc-last-message nil) (setq eldoc-last-message nil)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment