diff options
| author | Pavel Janík | 2002-02-16 09:43:17 +0000 |
|---|---|---|
| committer | Pavel Janík | 2002-02-16 09:43:17 +0000 |
| commit | c2dff9ce0a9126c2256394df261101b920fcd30f (patch) | |
| tree | 767511c5dfb470542393ed6b93d22bba82a44dc9 /lisp/eshell | |
| parent | e2e1cf2889a722ed211bd55d2acdc15da0ef04ce (diff) | |
| download | emacs-c2dff9ce0a9126c2256394df261101b920fcd30f.tar.gz emacs-c2dff9ce0a9126c2256394df261101b920fcd30f.zip | |
(eshell-mode): Do not use make-local-hook.
Diffstat (limited to 'lisp/eshell')
| -rw-r--r-- | lisp/eshell/esh-mode.el | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lisp/eshell/esh-mode.el b/lisp/eshell/esh-mode.el index acf8b22fecf..4e031b0e0b8 100644 --- a/lisp/eshell/esh-mode.el +++ b/lisp/eshell/esh-mode.el | |||
| @@ -415,8 +415,6 @@ This is used by `eshell-watch-for-password-prompt'." | |||
| 415 | (if (and load-hook (boundp load-hook)) | 415 | (if (and load-hook (boundp load-hook)) |
| 416 | (run-hooks load-hook)))) | 416 | (run-hooks load-hook)))) |
| 417 | 417 | ||
| 418 | (make-local-hook 'pre-command-hook) | ||
| 419 | |||
| 420 | (if eshell-send-direct-to-subprocesses | 418 | (if eshell-send-direct-to-subprocesses |
| 421 | (add-hook 'pre-command-hook 'eshell-intercept-commands t t)) | 419 | (add-hook 'pre-command-hook 'eshell-intercept-commands t t)) |
| 422 | 420 | ||
| @@ -427,12 +425,9 @@ This is used by `eshell-watch-for-password-prompt'." | |||
| 427 | (set (make-local-variable 'scroll-conservatively) 1000)) | 425 | (set (make-local-variable 'scroll-conservatively) 1000)) |
| 428 | 426 | ||
| 429 | (when eshell-status-in-modeline | 427 | (when eshell-status-in-modeline |
| 430 | (make-local-hook 'eshell-pre-command-hook) | ||
| 431 | (add-hook 'eshell-pre-command-hook 'eshell-command-started nil t) | 428 | (add-hook 'eshell-pre-command-hook 'eshell-command-started nil t) |
| 432 | (make-local-hook 'eshell-post-command-hook) | ||
| 433 | (add-hook 'eshell-post-command-hook 'eshell-command-finished nil t)) | 429 | (add-hook 'eshell-post-command-hook 'eshell-command-finished nil t)) |
| 434 | 430 | ||
| 435 | (make-local-hook 'kill-buffer-hook) | ||
| 436 | (add-hook 'kill-buffer-hook | 431 | (add-hook 'kill-buffer-hook |
| 437 | (function | 432 | (function |
| 438 | (lambda () | 433 | (lambda () |