diff options
| author | Pavel Janík | 2002-02-16 09:41:35 +0000 |
|---|---|---|
| committer | Pavel Janík | 2002-02-16 09:41:35 +0000 |
| commit | ff33c23537d05e547931f066c3144c4dee09fe19 (patch) | |
| tree | 70aad2d78a17781253d298159aad2f2ee86f01ef | |
| parent | 9d52d4b173ab6ed5def0672a917d8c927e8193d9 (diff) | |
| download | emacs-ff33c23537d05e547931f066c3144c4dee09fe19.tar.gz emacs-ff33c23537d05e547931f066c3144c4dee09fe19.zip | |
(eshell-unix-initialize): Do not use make-local-hook.
| -rw-r--r-- | lisp/eshell/em-unix.el | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lisp/eshell/em-unix.el b/lisp/eshell/em-unix.el index 2fb08d290c7..0a41b04875e 100644 --- a/lisp/eshell/em-unix.el +++ b/lisp/eshell/em-unix.el | |||
| @@ -141,9 +141,7 @@ Otherwise, Emacs will attempt to use rsh to invoke du on the remote machine." | |||
| 141 | 141 | ||
| 142 | (defun eshell-unix-initialize () | 142 | (defun eshell-unix-initialize () |
| 143 | "Initialize the UNIX support/emulation code." | 143 | "Initialize the UNIX support/emulation code." |
| 144 | (make-local-hook 'eshell-post-command-hook) | ||
| 145 | (when (eshell-using-module 'eshell-cmpl) | 144 | (when (eshell-using-module 'eshell-cmpl) |
| 146 | (make-local-hook 'pcomplete-try-first-hook) | ||
| 147 | (add-hook 'pcomplete-try-first-hook | 145 | (add-hook 'pcomplete-try-first-hook |
| 148 | 'eshell-complete-host-reference nil t)) | 146 | 'eshell-complete-host-reference nil t)) |
| 149 | (make-local-variable 'eshell-complex-commands) | 147 | (make-local-variable 'eshell-complex-commands) |