Some minor fixes
* dired-x.el (dired-mode-map): Fix last change. * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
This commit is contained in:
parent
4fa5174182
commit
3b922c70d6
3 changed files with 9 additions and 3 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue