diff options
| -rw-r--r-- | doc/emacs/programs.texi | 7 | ||||
| -rw-r--r-- | etc/NEWS | 8 |
2 files changed, 13 insertions, 2 deletions
diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi index bfc991b84c3..bc8d39c974f 100644 --- a/doc/emacs/programs.texi +++ b/doc/emacs/programs.texi | |||
| @@ -1234,13 +1234,16 @@ variables that you want to use. @xref{Name Help}. | |||
| 1234 | 1234 | ||
| 1235 | @cindex Eldoc mode | 1235 | @cindex Eldoc mode |
| 1236 | @findex eldoc-mode | 1236 | @findex eldoc-mode |
| 1237 | @findex global-eldoc-mode | ||
| 1237 | Eldoc is a buffer-local minor mode that helps with looking up Lisp | 1238 | Eldoc is a buffer-local minor mode that helps with looking up Lisp |
| 1238 | documentation. When it is enabled, the echo area displays some useful | 1239 | documentation. When it is enabled, the echo area displays some useful |
| 1239 | information whenever there is a Lisp function or variable at point; | 1240 | information whenever there is a Lisp function or variable at point; |
| 1240 | for a function, it shows the argument list, and for a variable it | 1241 | for a function, it shows the argument list, and for a variable it |
| 1241 | shows the first line of the variable's documentation string. To | 1242 | shows the first line of the variable's documentation string. To |
| 1242 | toggle Eldoc mode, type @kbd{M-x eldoc-mode}. Eldoc mode can be used | 1243 | toggle Eldoc mode, type @kbd{M-x eldoc-mode}. There's also a Global |
| 1243 | with the Emacs Lisp and Lisp Interaction major modes. | 1244 | Eldoc mode, which is turned on by default in buffers whose major mode |
| 1245 | is Emacs Lisp or Lisp Interaction (@kbd{M-x global-eldoc-mode} to turn | ||
| 1246 | it off). | ||
| 1244 | 1247 | ||
| 1245 | @node Hideshow | 1248 | @node Hideshow |
| 1246 | @section Hideshow minor mode | 1249 | @section Hideshow minor mode |
| @@ -554,8 +554,16 @@ this you can tell Edebug not to stop at the start of the first | |||
| 554 | instrumented function. | 554 | instrumented function. |
| 555 | 555 | ||
| 556 | ** ElDoc | 556 | ** ElDoc |
| 557 | |||
| 558 | +++ | ||
| 557 | *** New minor mode `global-eldoc-mode' | 559 | *** New minor mode `global-eldoc-mode' |
| 560 | It is turned on by default in `*scratch*' and other buffers whose | ||
| 561 | major mode supports Emacs Lisp. | ||
| 562 | |||
| 563 | --- | ||
| 558 | *** `eldoc-documentation-function' now defaults to `ignore' | 564 | *** `eldoc-documentation-function' now defaults to `ignore' |
| 565 | |||
| 566 | --- | ||
| 559 | *** `describe-char-eldoc' displays information about character at point, | 567 | *** `describe-char-eldoc' displays information about character at point, |
| 560 | and can be used as a default value of `eldoc-documentation-function'. It is | 568 | and can be used as a default value of `eldoc-documentation-function'. It is |
| 561 | useful when, for example, one needs to distinguish various spaces (e.g. ] [, | 569 | useful when, for example, one needs to distinguish various spaces (e.g. ] [, |