1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(eshell-io-initialize): Do not use make-local-hook.

This commit is contained in:
Pavel Janík 2002-02-16 09:42:53 +00:00
parent b29acea616
commit e2e1cf2889

View file

@ -169,14 +169,11 @@ not be added to this variable."
(defun eshell-io-initialize ()
"Initialize the I/O subsystem code."
(make-local-hook 'eshell-parse-argument-hook)
(add-hook 'eshell-parse-argument-hook
'eshell-parse-redirection nil t)
(make-local-variable 'eshell-current-redirections)
(make-local-hook 'eshell-pre-rewrite-command-hook)
(add-hook 'eshell-pre-rewrite-command-hook
'eshell-strip-redirections nil t)
(make-local-hook 'eshell-post-rewrite-command-hook)
(add-hook 'eshell-post-rewrite-command-hook
'eshell-apply-redirections nil t))