From 3b922c70d6ac2e278e839bf9dda91aaaebac3d92 Mon Sep 17 00:00:00 2001 From: Leo Liu Date: Sun, 12 Jan 2014 18:29:59 +0800 Subject: Some minor fixes * dired-x.el (dired-mode-map): Fix last change. * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally. --- lisp/emacs-lisp/eldoc.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/emacs-lisp/eldoc.el') 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))) -- cgit v1.2.3