[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 f92ba5d: Document Eldoc changes
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-25 f92ba5d: Document Eldoc changes |
Date: |
Wed, 16 Dec 2015 14:38:25 +0000 |
branch: emacs-25
commit f92ba5db978f06174cd217c63a18d6b0295bbc44
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Document Eldoc changes
* doc/emacs/programs.texi (Lisp Doc): Document Global Eldoc mode.
---
doc/emacs/programs.texi | 7 +++++--
etc/NEWS | 8 ++++++++
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi
index bfc991b..bc8d39c 100644
--- a/doc/emacs/programs.texi
+++ b/doc/emacs/programs.texi
@@ -1234,13 +1234,16 @@ variables that you want to use. @xref{Name Help}.
@cindex Eldoc mode
@findex eldoc-mode
address@hidden global-eldoc-mode
Eldoc is a buffer-local minor mode that helps with looking up Lisp
documentation. When it is enabled, the echo area displays some useful
information whenever there is a Lisp function or variable at point;
for a function, it shows the argument list, and for a variable it
shows the first line of the variable's documentation string. To
-toggle Eldoc mode, type @kbd{M-x eldoc-mode}. Eldoc mode can be used
-with the Emacs Lisp and Lisp Interaction major modes.
+toggle Eldoc mode, type @kbd{M-x eldoc-mode}. There's also a Global
+Eldoc mode, which is turned on by default in buffers whose major mode
+is Emacs Lisp or Lisp Interaction (@kbd{M-x global-eldoc-mode} to turn
+it off).
@node Hideshow
@section Hideshow minor mode
diff --git a/etc/NEWS b/etc/NEWS
index d65e9dd..2b21f8b 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
instrumented function.
** ElDoc
+
++++
*** New minor mode `global-eldoc-mode'
+It is turned on by default in `*scratch*' and other buffers whose
+major mode supports Emacs Lisp.
+
+---
*** `eldoc-documentation-function' now defaults to `ignore'
+
+---
*** `describe-char-eldoc' displays information about character at point,
and can be used as a default value of `eldoc-documentation-function'. It is
useful when, for example, one needs to distinguish various spaces (e.g. ] [,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 f92ba5d: Document Eldoc changes,
Eli Zaretskii <=