From a003e87be775adc0d351ad741b609f0ee23fe560 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Tue, 6 Jun 2017 01:04:04 +0300 Subject: [PATCH] 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 ea3a495fbc3..df664fc0503 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)) -- 2.39.2