emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master a003e87 2/2: Enable eldoc-mode explicitly inside re


From: Dmitry Gutov
Subject: [Emacs-diffs] master a003e87 2/2: Enable eldoc-mode explicitly inside read--expression
Date: Mon, 5 Jun 2017 18:04:29 -0400 (EDT)

branch: master
commit a003e87be775adc0d351ad741b609f0ee23fe560
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    Enable eldoc-mode explicitly inside read--expression
    
    * lisp/simple.el (read--expression): Call eldoc-mode (bug#27202).
---
 lisp/simple.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/simple.el b/lisp/simple.el
index ea3a495..df664fc 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -1484,6 +1484,7 @@ display the result of expression evaluation."
           ;; FIXME: call emacs-lisp-mode?
           (add-function :before-until (local 'eldoc-documentation-function)
                         #'elisp-eldoc-documentation-function)
+          (eldoc-mode 1)
           (add-hook 'completion-at-point-functions
                     #'elisp-completion-at-point nil t)
           (run-hooks 'eval-expression-minibuffer-setup-hook))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]