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

index c0f179c12e314f454eb61219b07b1296db310f6e..1eff7acf344221f62698ced41abd46e929817c89 100644 (file)
@@ -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)