diff options
| author | Pavel Janík | 2002-02-16 09:36:43 +0000 |
|---|---|---|
| committer | Pavel Janík | 2002-02-16 09:36:43 +0000 |
| commit | 2772b8b0c5750b6adaefdca4c4d8b2585b846d63 (patch) | |
| tree | 90a855936b6229e58fd28829e593f4c40d4c37d6 | |
| parent | 7b403e01bd5f26f38445503335a2217d2dd47418 (diff) | |
| download | emacs-2772b8b0c5750b6adaefdca4c4d8b2585b846d63.tar.gz emacs-2772b8b0c5750b6adaefdca4c4d8b2585b846d63.zip | |
(eshell-alias-initialize): Do not use make-local-hook.
| -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)) |