aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/emacs/programs.texi7
-rw-r--r--etc/NEWS8
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
1238documentation. When it is enabled, the echo area displays some useful 1239documentation. When it is enabled, the echo area displays some useful
1239information whenever there is a Lisp function or variable at point; 1240information whenever there is a Lisp function or variable at point;
1240for a function, it shows the argument list, and for a variable it 1241for a function, it shows the argument list, and for a variable it
1241shows the first line of the variable's documentation string. To 1242shows the first line of the variable's documentation string. To
1242toggle Eldoc mode, type @kbd{M-x eldoc-mode}. Eldoc mode can be used 1243toggle Eldoc mode, type @kbd{M-x eldoc-mode}. There's also a Global
1243with the Emacs Lisp and Lisp Interaction major modes. 1244Eldoc mode, which is turned on by default in buffers whose major mode
1245is Emacs Lisp or Lisp Interaction (@kbd{M-x global-eldoc-mode} to turn
1246it off).
1244 1247
1245@node Hideshow 1248@node Hideshow
1246@section Hideshow minor mode 1249@section Hideshow minor mode
diff --git a/etc/NEWS b/etc/NEWS
index d65e9dd6fa6..2b21f8b6f84 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -554,8 +554,16 @@ this you can tell Edebug not to stop at the start of the first
554instrumented function. 554instrumented function.
555 555
556** ElDoc 556** ElDoc
557
558+++
557*** New minor mode `global-eldoc-mode' 559*** New minor mode `global-eldoc-mode'
560It is turned on by default in `*scratch*' and other buffers whose
561major 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,
560and can be used as a default value of `eldoc-documentation-function'. It is 568and can be used as a default value of `eldoc-documentation-function'. It is
561useful when, for example, one needs to distinguish various spaces (e.g. ] [, 569useful when, for example, one needs to distinguish various spaces (e.g. ] [,