changeset 43338:8de53e0342b4

(eshell-mode): Do not use make-local-hook.
author Pavel Janík <Pavel@Janik.cz>
date Sat, 16 Feb 2002 09:43:17 +0000
parents fbc49c7a3803
children 0100279f3c4e
files lisp/eshell/esh-mode.el
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/eshell/esh-mode.el	Sat Feb 16 09:42:53 2002 +0000
+++ b/lisp/eshell/esh-mode.el	Sat Feb 16 09:43:17 2002 +0000
@@ -415,8 +415,6 @@
       (if (and load-hook (boundp load-hook))
 	  (run-hooks load-hook))))
 
-  (make-local-hook 'pre-command-hook)
-
   (if eshell-send-direct-to-subprocesses
       (add-hook 'pre-command-hook 'eshell-intercept-commands t t))
 
@@ -427,12 +425,9 @@
     (set (make-local-variable 'scroll-conservatively) 1000))
 
   (when eshell-status-in-modeline
-    (make-local-hook 'eshell-pre-command-hook)
     (add-hook 'eshell-pre-command-hook 'eshell-command-started nil t)
-    (make-local-hook 'eshell-post-command-hook)
     (add-hook 'eshell-post-command-hook 'eshell-command-finished nil t))
 
-  (make-local-hook 'kill-buffer-hook)
   (add-hook 'kill-buffer-hook
 	    (function
 	     (lambda ()