emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 350792e 62/64: global-eldoc-mode doc fix


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] emacs-25 350792e 62/64: global-eldoc-mode doc fix
Date: Sun, 01 May 2016 18:18:43 +0000

branch: emacs-25
commit 350792e356c23cb1a1dfbbd8e8e342e26830c185
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    global-eldoc-mode doc fix
    
    * lisp/emacs-lisp/eldoc.el (global-eldoc-mode): Be more
    specific about what "applicable" means (bug#23071).
    
    (cherry picked from commit 25e95b5dd8cd92e03788e589bf99a4b399f03114)
---
 lisp/emacs-lisp/eldoc.el |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el
index d5e7178..096102a 100644
--- a/lisp/emacs-lisp/eldoc.el
+++ b/lisp/emacs-lisp/eldoc.el
@@ -201,8 +201,16 @@ expression point is on."
 
 ;;;###autoload
 (define-minor-mode global-eldoc-mode
-  "Enable `eldoc-mode' in all buffers where it's applicable."
-  :group 'eldoc :global t
+  "Toggle Global Eldoc mode on or off.
+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
   :init-value t
   (setq eldoc-last-message nil)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]