aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Gutov2017-06-06 01:04:04 +0300
committerDmitry Gutov2017-06-06 01:04:17 +0300
commita003e87be775adc0d351ad741b609f0ee23fe560 (patch)
tree6814319d5db309a84313687090385c341213f065
parentf858c585a39e83e062ff33e068b8376e7aecabdf (diff)
downloademacs-a003e87be775adc0d351ad741b609f0ee23fe560.tar.gz
emacs-a003e87be775adc0d351ad741b609f0ee23fe560.zip
Enable eldoc-mode explicitly inside read--expression
* lisp/simple.el (read--expression): Call eldoc-mode (bug#27202).
-rw-r--r--lisp/simple.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index ea3a495fbc3..df664fc0503 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -1484,6 +1484,7 @@ display the result of expression evaluation."
1484 ;; FIXME: call emacs-lisp-mode? 1484 ;; FIXME: call emacs-lisp-mode?
1485 (add-function :before-until (local 'eldoc-documentation-function) 1485 (add-function :before-until (local 'eldoc-documentation-function)
1486 #'elisp-eldoc-documentation-function) 1486 #'elisp-eldoc-documentation-function)
1487 (eldoc-mode 1)
1487 (add-hook 'completion-at-point-functions 1488 (add-hook 'completion-at-point-functions
1488 #'elisp-completion-at-point nil t) 1489 #'elisp-completion-at-point nil t)
1489 (run-hooks 'eval-expression-minibuffer-setup-hook)) 1490 (run-hooks 'eval-expression-minibuffer-setup-hook))