* emacs-lisp/eldoc.el (eldoc-minibuffer-message): Clear

eldoc-last-message.

Fixes: debbugs:16920
This commit is contained in:
Leo Liu 2014-03-10 13:33:31 +08:00
parent ca70fe789c
commit 6f0f96e756
2 changed files with 8 additions and 1 deletions

View file

@ -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