From: Glenn Morris Date: Thu, 30 Jan 2014 07:54:28 +0000 (-0800) Subject: * etc/NEWS: ElDoc related edit. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~230 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=314ff31814e8b62c72bfd15cfd39535a36e2affe;p=emacs.git * etc/NEWS: ElDoc related edit. * lisp/emacs-lisp/eldoc.el: Related commentary. --- diff --git a/etc/NEWS b/etc/NEWS index 4c92c329872..5bbe34a573a 100644 --- 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. diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el index 28e80d0e2b4..cedfd44dd1f 100644 --- a/lisp/emacs-lisp/eldoc.el +++ b/lisp/emacs-lisp/eldoc.el @@ -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