From: Pavel Janík Date: Sat, 16 Feb 2002 09:43:17 +0000 (+0000) Subject: (eshell-mode): Do not use make-local-hook. X-Git-Tag: ttn-vms-21-2-B4~16642 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c2dff9ce0a9126c2256394df261101b920fcd30f;p=emacs.git (eshell-mode): Do not use make-local-hook. --- diff --git a/lisp/eshell/esh-mode.el b/lisp/eshell/esh-mode.el index acf8b22fecf..4e031b0e0b8 100644 --- a/lisp/eshell/esh-mode.el +++ b/lisp/eshell/esh-mode.el @@ -415,8 +415,6 @@ This is used by `eshell-watch-for-password-prompt'." (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 @@ This is used by `eshell-watch-for-password-prompt'." (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 ()