]> git.eshelyaron.com Git - emacs.git/commitdiff
(eshell-rebind-initialize): Do not use make-local-hook.
authorPavel Janík <Pavel@Janik.cz>
Sat, 16 Feb 2002 09:40:40 +0000 (09:40 +0000)
committerPavel Janík <Pavel@Janik.cz>
Sat, 16 Feb 2002 09:40:40 +0000 (09:40 +0000)
lisp/eshell/em-rebind.el

index c52617633c13940109dd58e875e4a7d51118fed0..e3aefd9b5542b810e4ae8c67eac47cae83b489b1 100644 (file)
@@ -147,12 +147,9 @@ This is default behavior of shells like bash."
 (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)