aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Janík2002-02-16 09:40:19 +0000
committerPavel Janík2002-02-16 09:40:19 +0000
commitba9c20f8bb4ee55f88a155cede22399e67adc9ba (patch)
tree3db0691e8e74f45dd240aa54d1d07b04a1288c48
parentdf1195a059ed21da0f0e943ca4f3b6688845ac1b (diff)
downloademacs-ba9c20f8bb4ee55f88a155cede22399e67adc9ba.tar.gz
emacs-ba9c20f8bb4ee55f88a155cede22399e67adc9ba.zip
(eshell-prompt-initialize): Do not use make-local-hook.
-rw-r--r--lisp/eshell/em-prompt.el1
1 files changed, 0 insertions, 1 deletions
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."
98(defun eshell-prompt-initialize () 98(defun eshell-prompt-initialize ()
99 "Initialize the prompting code." 99 "Initialize the prompting code."
100 (unless eshell-non-interactive-p 100 (unless eshell-non-interactive-p
101 (make-local-hook 'eshell-post-command-hook)
102 (add-hook 'eshell-post-command-hook 'eshell-emit-prompt nil t) 101 (add-hook 'eshell-post-command-hook 'eshell-emit-prompt nil t)
103 102
104 (make-local-variable 'eshell-prompt-regexp) 103 (make-local-variable 'eshell-prompt-regexp)