# HG changeset patch # User Pavel Jank # Date 1013852597 0 # Node ID 8de53e0342b45f9cb324ebebf0c392c63c59d357 # Parent fbc49c7a380375daa9b3cb1e570e996b3169d6ae (eshell-mode): Do not use make-local-hook. diff -r fbc49c7a3803 -r 8de53e0342b4 lisp/eshell/esh-mode.el --- 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 ()