]> git.eshelyaron.com Git - emacs.git/commitdiff
Enable eldoc-mode explicitly inside read--expression
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 5 Jun 2017 22:04:04 +0000 (01:04 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 5 Jun 2017 22:04:17 +0000 (01:04 +0300)
* lisp/simple.el (read--expression): Call eldoc-mode (bug#27202).

lisp/simple.el

index ea3a495fbc3501a29c6c23c6c9d4deb9ecd4a4d0..df664fc0503ad2df3e92ad01bfb547f9c5caaa78 100644 (file)
@@ -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))