diff options
| author | Leo Liu | 2014-01-12 18:29:59 +0800 |
|---|---|---|
| committer | Leo Liu | 2014-01-12 18:29:59 +0800 |
| commit | 3b922c70d6ac2e278e839bf9dda91aaaebac3d92 (patch) | |
| tree | f2a18376379027feeafd4026ada31ab649047cb0 | |
| parent | 4fa51741821ef5c0fc83c82bba7cd87807b13a2c (diff) | |
| download | emacs-3b922c70d6ac2e278e839bf9dda91aaaebac3d92.tar.gz emacs-3b922c70d6ac2e278e839bf9dda91aaaebac3d92.zip | |
Some minor fixes
* dired-x.el (dired-mode-map): Fix last change.
* emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
| -rw-r--r-- | lisp/ChangeLog | 8 | ||||
| -rw-r--r-- | lisp/dired-x.el | 2 | ||||
| -rw-r--r-- | lisp/emacs-lisp/eldoc.el | 2 |
3 files changed, 9 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2e2814fe46b..7abcbee02b2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2014-01-12 Leo Liu <sdl.web@gmail.com> | ||
| 2 | |||
| 3 | * dired-x.el (dired-mode-map): Fix last change. | ||
| 4 | |||
| 5 | * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally. | ||
| 6 | |||
| 1 | 2014-01-12 Paul Eggert <eggert@cs.ucla.edu> | 7 | 2014-01-12 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 8 | ||
| 3 | Spelling fixes. | 9 | Spelling fixes. |
| @@ -272,7 +278,7 @@ | |||
| 272 | 2014-01-06 Leo Liu <sdl.web@gmail.com> | 278 | 2014-01-06 Leo Liu <sdl.web@gmail.com> |
| 273 | 279 | ||
| 274 | * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o | 280 | * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o |
| 275 | to avoid shadowning global key. (Bug#16354) | 281 | to avoid shadowing global key. (Bug#16354) |
| 276 | 282 | ||
| 277 | 2014-01-06 Daniel Colascione <dancol@dancol.org> | 283 | 2014-01-06 Daniel Colascione <dancol@dancol.org> |
| 278 | 284 | ||
diff --git a/lisp/dired-x.el b/lisp/dired-x.el index a1ee1fa2e07..947de7cd9f8 100644 --- a/lisp/dired-x.el +++ b/lisp/dired-x.el | |||
| @@ -241,7 +241,7 @@ to nil: a pipe using `zcat' or `gunzip -c' will be used." | |||
| 241 | 241 | ||
| 242 | ;;; KEY BINDINGS. | 242 | ;;; KEY BINDINGS. |
| 243 | 243 | ||
| 244 | (define-key dired-mode-map "\C-c\M-o" 'dired-omit-mode) | 244 | (define-key dired-mode-map "\C-x\M-o" 'dired-omit-mode) |
| 245 | (define-key dired-mode-map "*O" 'dired-mark-omitted) | 245 | (define-key dired-mode-map "*O" 'dired-mark-omitted) |
| 246 | (define-key dired-mode-map "\M-(" 'dired-mark-sexp) | 246 | (define-key dired-mode-map "\M-(" 'dired-mark-sexp) |
| 247 | (define-key dired-mode-map "*(" 'dired-mark-sexp) | 247 | (define-key dired-mode-map "*(" 'dired-mark-sexp) |
diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el index 1c64e28c76b..fa1574b0a88 100644 --- a/lisp/emacs-lisp/eldoc.el +++ b/lisp/emacs-lisp/eldoc.el | |||
| @@ -187,7 +187,7 @@ expression point is on." | |||
| 187 | (when eldoc-print-after-edit | 187 | (when eldoc-print-after-edit |
| 188 | (setq-local eldoc-message-commands (eldoc-edit-message-commands))) | 188 | (setq-local eldoc-message-commands (eldoc-edit-message-commands))) |
| 189 | (add-hook 'post-command-hook 'eldoc-schedule-timer nil t) | 189 | (add-hook 'post-command-hook 'eldoc-schedule-timer nil t) |
| 190 | (add-hook 'pre-command-hook 'eldoc-pre-command-refresh-echo-area t)) | 190 | (add-hook 'pre-command-hook 'eldoc-pre-command-refresh-echo-area nil t)) |
| 191 | (kill-local-variable 'eldoc-message-commands) | 191 | (kill-local-variable 'eldoc-message-commands) |
| 192 | (remove-hook 'post-command-hook 'eldoc-schedule-timer t) | 192 | (remove-hook 'post-command-hook 'eldoc-schedule-timer t) |
| 193 | (remove-hook 'pre-command-hook 'eldoc-pre-command-refresh-echo-area t))) | 193 | (remove-hook 'pre-command-hook 'eldoc-pre-command-refresh-echo-area t))) |