]> git.eshelyaron.com Git - emacs.git/commitdiff
* etc/NEWS: ElDoc related edit.
authorGlenn Morris <rgm@gnu.org>
Thu, 30 Jan 2014 07:54:28 +0000 (23:54 -0800)
committerGlenn Morris <rgm@gnu.org>
Thu, 30 Jan 2014 07:54:28 +0000 (23:54 -0800)
* lisp/emacs-lisp/eldoc.el: Related commentary.

etc/NEWS
lisp/emacs-lisp/eldoc.el

index 4c92c329872d8a38b31b2cc29886bb1828c487ad..5bbe34a573ad4b128bf03f34f5ea68533daf9c9c 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -462,7 +462,10 @@ and `desktop-restore-forces-onscreen' offer further customization.
 ** New Dired minor mode `dired-hide-details-mode' toggles whether details,
 such as file ownership or permissions, are visible.
 
-** Eldoc Mode works properly in the minibuffer.
+---
+** You can enable ElDoc inside the `eval-expression' minibuffer with:
+  (add-hook 'eval-expression-minibuffer-setup-hook 'eldoc-mode)
+The results display in the mode line.
 
 ** Electric Pair mode
 
@@ -623,7 +626,7 @@ are lined up to the first one.
 
 *** Completion in Octave file buffers.
 
-*** Eldoc support.
+*** ElDoc support.
 
 *** Jump to definition.
 
index 28e80d0e2b456e4a9a7b985f63b094895538bf80..cedfd44dd1f73c8d5320ca2bb734c5f667398ced 100644 (file)
@@ -39,6 +39,7 @@
 ;;      (add-hook 'emacs-lisp-mode-hook 'eldoc-mode)
 ;;      (add-hook 'lisp-interaction-mode-hook 'eldoc-mode)
 ;;      (add-hook 'ielm-mode-hook 'eldoc-mode)
+;;      (add-hook 'eval-expression-minibuffer-setup-hook 'eldoc-mode)
 
 ;; Major modes for other languages may use ElDoc by defining an
 ;; appropriate function as the buffer-local value of