diff options
| author | Pavel Janík | 2002-02-16 09:40:40 +0000 |
|---|---|---|
| committer | Pavel Janík | 2002-02-16 09:40:40 +0000 |
| commit | 958b2a54be866bf2bff2c32e27c9c068ab1b6f4a (patch) | |
| tree | aba4ce89b73990765664c2eeae6c715d05b4fdce | |
| parent | ba9c20f8bb4ee55f88a155cede22399e67adc9ba (diff) | |
| download | emacs-958b2a54be866bf2bff2c32e27c9c068ab1b6f4a.tar.gz emacs-958b2a54be866bf2bff2c32e27c9c068ab1b6f4a.zip | |
(eshell-rebind-initialize): Do not use make-local-hook.
| -rw-r--r-- | lisp/eshell/em-rebind.el | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lisp/eshell/em-rebind.el b/lisp/eshell/em-rebind.el index c52617633c1..e3aefd9b554 100644 --- a/lisp/eshell/em-rebind.el +++ b/lisp/eshell/em-rebind.el | |||
| @@ -147,12 +147,9 @@ This is default behavior of shells like bash." | |||
| 147 | (defun eshell-rebind-initialize () | 147 | (defun eshell-rebind-initialize () |
| 148 | "Initialize the inputing code." | 148 | "Initialize the inputing code." |
| 149 | (unless eshell-non-interactive-p | 149 | (unless eshell-non-interactive-p |
| 150 | (make-local-hook 'eshell-mode-hook) | ||
| 151 | (add-hook 'eshell-mode-hook 'eshell-setup-input-keymap nil t) | 150 | (add-hook 'eshell-mode-hook 'eshell-setup-input-keymap nil t) |
| 152 | (make-local-hook 'pre-command-hook) | ||
| 153 | (make-local-variable 'eshell-previous-point) | 151 | (make-local-variable 'eshell-previous-point) |
| 154 | (add-hook 'pre-command-hook 'eshell-save-previous-point nil t) | 152 | (add-hook 'pre-command-hook 'eshell-save-previous-point nil t) |
| 155 | (make-local-hook 'post-command-hook) | ||
| 156 | (make-local-variable 'overriding-local-map) | 153 | (make-local-variable 'overriding-local-map) |
| 157 | (add-hook 'post-command-hook 'eshell-rebind-input-map nil t) | 154 | (add-hook 'post-command-hook 'eshell-rebind-input-map nil t) |
| 158 | (set (make-local-variable 'eshell-lock-keymap) nil) | 155 | (set (make-local-variable 'eshell-lock-keymap) nil) |