summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorLeo Liu <sdl.web@gmail.com>2014-03-10 13:33:31 +0800
committerLeo Liu <sdl.web@gmail.com>2014-03-10 13:33:31 +0800
commit6f0f96e7560579af3e6932190e329c7bf84e62a2 (patch)
treec3319203663f4def5b51f6343f577c016c514df1 /lisp/emacs-lisp
parentca70fe789c5ca3940638f43a1e83af88f742e24c (diff)
* emacs-lisp/eldoc.el (eldoc-minibuffer-message): Clear
eldoc-last-message. Fixes: debbugs:16920
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/eldoc.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el
index cedfd44dd1..c64ec52dec 100644
--- a/lisp/emacs-lisp/eldoc.el
+++ b/lisp/emacs-lisp/eldoc.el
@@ -219,7 +219,9 @@ Otherwise work like `message'."
(if (minibufferp)
(progn
(add-hook 'minibuffer-exit-hook
- (lambda () (setq eldoc-mode-line-string nil))
+ (lambda () (setq eldoc-mode-line-string nil
+ ;; http://debbugs.gnu.org/16920
+ eldoc-last-message nil))
nil t)
(with-current-buffer
(window-buffer