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:
parent
b29acea616
commit
e2e1cf2889
1 changed files with 0 additions and 3 deletions
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue