[Top][All Lists]

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

bug#27202: 26.0.50; Eldoc mode is broken

From: Dmitry Gutov
Subject: bug#27202: 26.0.50; Eldoc mode is broken
Date: Sat, 3 Jun 2017 02:53:17 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Thunderbird/54.0

On 6/3/17 2:20 AM, Stephen Berman wrote:

All right, I see this. So it's specifically broken in the minibuffer? Not

Right, with M-: there's no Eldoc message in the modeline; in an .el file
or *scratch*, the Eldoc message does appear in the echo area.  Sorry for
not be clear about that in my OP.


The patch below seems to fix it.

Also Ccing Stefan: should we do it this way?

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 @@ read--expression
           ;; FIXME: call emacs-lisp-mode?
(add-function :before-until (local '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]