From: Pavel Janík Date: Sat, 16 Feb 2002 09:40:19 +0000 (+0000) Subject: (eshell-prompt-initialize): Do not use make-local-hook. X-Git-Tag: ttn-vms-21-2-B4~16649 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ba9c20f8bb4ee55f88a155cede22399e67adc9ba;p=emacs.git (eshell-prompt-initialize): Do not use make-local-hook. --- diff --git a/lisp/eshell/em-prompt.el b/lisp/eshell/em-prompt.el index c0f179c12e3..1eff7acf344 100644 --- a/lisp/eshell/em-prompt.el +++ b/lisp/eshell/em-prompt.el @@ -98,7 +98,6 @@ arriving, or after." (defun eshell-prompt-initialize () "Initialize the prompting code." (unless eshell-non-interactive-p - (make-local-hook 'eshell-post-command-hook) (add-hook 'eshell-post-command-hook 'eshell-emit-prompt nil t) (make-local-variable 'eshell-prompt-regexp)