diff options
| -rw-r--r-- | lisp/eshell/em-alias.el | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lisp/eshell/em-alias.el b/lisp/eshell/em-alias.el index 0dd908be99c..ff6d66eb9e9 100644 --- a/lisp/eshell/em-alias.el +++ b/lisp/eshell/em-alias.el | |||
| @@ -147,10 +147,8 @@ command, which will automatically write them to the file named by | |||
| 147 | (defun eshell-alias-initialize () | 147 | (defun eshell-alias-initialize () |
| 148 | "Initialize the alias handling code." | 148 | "Initialize the alias handling code." |
| 149 | (make-local-variable 'eshell-failed-commands-alist) | 149 | (make-local-variable 'eshell-failed-commands-alist) |
| 150 | (make-local-hook 'eshell-alternate-command-hook) | ||
| 151 | (add-hook 'eshell-alternate-command-hook 'eshell-fix-bad-commands t t) | 150 | (add-hook 'eshell-alternate-command-hook 'eshell-fix-bad-commands t t) |
| 152 | (eshell-read-aliases-list) | 151 | (eshell-read-aliases-list) |
| 153 | (make-local-hook 'eshell-named-command-hook) | ||
| 154 | (add-hook 'eshell-named-command-hook 'eshell-maybe-replace-by-alias t t) | 152 | (add-hook 'eshell-named-command-hook 'eshell-maybe-replace-by-alias t t) |
| 155 | (make-local-variable 'eshell-complex-commands) | 153 | (make-local-variable 'eshell-complex-commands) |
| 156 | (add-to-list 'eshell-complex-commands 'eshell-command-aliased-p)) | 154 | (add-to-list 'eshell-complex-commands 'eshell-command-aliased-p)) |