diff options
| -rw-r--r-- | lisp/emacs-lisp/eldoc.el | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el index d5e7178b226..096102ae7e1 100644 --- a/lisp/emacs-lisp/eldoc.el +++ b/lisp/emacs-lisp/eldoc.el | |||
| @@ -201,8 +201,16 @@ expression point is on." | |||
| 201 | 201 | ||
| 202 | ;;;###autoload | 202 | ;;;###autoload |
| 203 | (define-minor-mode global-eldoc-mode | 203 | (define-minor-mode global-eldoc-mode |
| 204 | "Enable `eldoc-mode' in all buffers where it's applicable." | 204 | "Toggle Global Eldoc mode on or off. |
| 205 | :group 'eldoc :global t | 205 | With a prefix argument ARG, enable Global Eldoc mode if ARG is |
| 206 | positive, and disable it otherwise. If called from Lisp, enable | ||
| 207 | the mode if ARG is omitted or nil, and toggle it if ARG is ‘toggle’. | ||
| 208 | |||
| 209 | If Global Eldoc mode is on, `eldoc-mode' will be enabled in all | ||
| 210 | buffers where it's applicable. These are buffers that have modes | ||
| 211 | that have enabled eldoc support. See `eldoc-documentation-function'." | ||
| 212 | :group 'eldoc | ||
| 213 | :global t | ||
| 206 | :initialize 'custom-initialize-delay | 214 | :initialize 'custom-initialize-delay |
| 207 | :init-value t | 215 | :init-value t |
| 208 | (setq eldoc-last-message nil) | 216 | (setq eldoc-last-message nil) |