aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Janík2002-02-16 09:42:53 +0000
committerPavel Janík2002-02-16 09:42:53 +0000
commite2e1cf2889a722ed211bd55d2acdc15da0ef04ce (patch)
tree7c62fcb1cf826fb4886c42f6c8e98d15f3974870
parentb29acea616001c66b573bb02810758fbaae9dcb2 (diff)
downloademacs-e2e1cf2889a722ed211bd55d2acdc15da0ef04ce.tar.gz
emacs-e2e1cf2889a722ed211bd55d2acdc15da0ef04ce.zip
(eshell-io-initialize): Do not use make-local-hook.
-rw-r--r--lisp/eshell/esh-io.el3
1 files changed, 0 insertions, 3 deletions
diff --git a/lisp/eshell/esh-io.el b/lisp/eshell/esh-io.el
index 7e927198c26..d458bad0665 100644
--- a/lisp/eshell/esh-io.el
+++ b/lisp/eshell/esh-io.el
@@ -169,14 +169,11 @@ not be added to this variable."
169 169
170(defun eshell-io-initialize () 170(defun eshell-io-initialize ()
171 "Initialize the I/O subsystem code." 171 "Initialize the I/O subsystem code."
172 (make-local-hook 'eshell-parse-argument-hook)
173 (add-hook 'eshell-parse-argument-hook 172 (add-hook 'eshell-parse-argument-hook
174 'eshell-parse-redirection nil t) 173 'eshell-parse-redirection nil t)
175 (make-local-variable 'eshell-current-redirections) 174 (make-local-variable 'eshell-current-redirections)
176 (make-local-hook 'eshell-pre-rewrite-command-hook)
177 (add-hook 'eshell-pre-rewrite-command-hook 175 (add-hook 'eshell-pre-rewrite-command-hook
178 'eshell-strip-redirections nil t) 176 'eshell-strip-redirections nil t)
179 (make-local-hook 'eshell-post-rewrite-command-hook)
180 (add-hook 'eshell-post-rewrite-command-hook 177 (add-hook 'eshell-post-rewrite-command-hook
181 'eshell-apply-redirections nil t)) 178 'eshell-apply-redirections nil t))
182 179