changeset 43331:d65b6b00330f

(eshell-prompt-initialize): Do not use make-local-hook.
author Pavel Janík <Pavel@Janik.cz>
date Sat, 16 Feb 2002 09:40:19 +0000
parents 7c5bd619612f
children ab078394a536
files lisp/eshell/em-prompt.el
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/eshell/em-prompt.el	Sat Feb 16 09:39:56 2002 +0000
+++ b/lisp/eshell/em-prompt.el	Sat Feb 16 09:40:19 2002 +0000
@@ -98,7 +98,6 @@
 (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)