diff options
author | Leo Liu <sdl.web@gmail.com> | 2014-01-12 18:29:59 +0800 |
---|---|---|
committer | Leo Liu <sdl.web@gmail.com> | 2014-01-12 18:29:59 +0800 |
commit | 3b922c70d6ac2e278e839bf9dda91aaaebac3d92 (patch) | |
tree | f2a18376379027feeafd4026ada31ab649047cb0 /lisp/emacs-lisp/eldoc.el | |
parent | 4fa51741821ef5c0fc83c82bba7cd87807b13a2c (diff) |
Some minor fixes
* dired-x.el (dired-mode-map): Fix last change.
* emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
Diffstat (limited to 'lisp/emacs-lisp/eldoc.el')
-rw-r--r-- | lisp/emacs-lisp/eldoc.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el index 1c64e28c76..fa1574b0a8 100644 --- a/lisp/emacs-lisp/eldoc.el +++ b/lisp/emacs-lisp/eldoc.el @@ -187,7 +187,7 @@ expression point is on." (when eldoc-print-after-edit (setq-local eldoc-message-commands (eldoc-edit-message-commands))) (add-hook 'post-command-hook 'eldoc-schedule-timer nil t) - (add-hook 'pre-command-hook 'eldoc-pre-command-refresh-echo-area t)) + (add-hook 'pre-command-hook 'eldoc-pre-command-refresh-echo-area nil t)) (kill-local-variable 'eldoc-message-commands) (remove-hook 'post-command-hook 'eldoc-schedule-timer t) (remove-hook 'pre-command-hook 'eldoc-pre-command-refresh-echo-area t))) |