changeset 43332:ab078394a536

(eshell-rebind-initialize): Do not use make-local-hook.
author Pavel Janík <Pavel@Janik.cz>
date Sat, 16 Feb 2002 09:40:40 +0000
parents d65b6b00330f
children 8ef92d7fb166
files lisp/eshell/em-rebind.el
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/eshell/em-rebind.el	Sat Feb 16 09:40:19 2002 +0000
+++ b/lisp/eshell/em-rebind.el	Sat Feb 16 09:40:40 2002 +0000
@@ -147,12 +147,9 @@
 (defun eshell-rebind-initialize ()
   "Initialize the inputing code."
   (unless eshell-non-interactive-p
-    (make-local-hook 'eshell-mode-hook)
     (add-hook 'eshell-mode-hook 'eshell-setup-input-keymap nil t)
-    (make-local-hook 'pre-command-hook)
     (make-local-variable 'eshell-previous-point)
     (add-hook 'pre-command-hook 'eshell-save-previous-point nil t)
-    (make-local-hook 'post-command-hook)
     (make-local-variable 'overriding-local-map)
     (add-hook 'post-command-hook 'eshell-rebind-input-map nil t)
     (set (make-local-variable 'eshell-lock-keymap) nil)