From: Dmitry Gutov <dgutov@yandex.ru> Date: Mon, 5 Jun 2017 22:04:04 +0000 (+0300) Subject: Enable eldoc-mode explicitly inside read--expression X-Git-Tag: emacs-26.0.90~521^2~164 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a003e87be775adc0d351ad741b609f0ee23fe560;p=emacs.git Enable eldoc-mode explicitly inside read--expression * lisp/simple.el (read--expression): Call eldoc-mode (bug#27202). --- 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))