]> git.eshelyaron.com Git - emacs.git/commitdiff
(eshell-unix-initialize): Do not use make-local-hook.
authorPavel Janík <Pavel@Janik.cz>
Sat, 16 Feb 2002 09:41:35 +0000 (09:41 +0000)
committerPavel Janík <Pavel@Janik.cz>
Sat, 16 Feb 2002 09:41:35 +0000 (09:41 +0000)
lisp/eshell/em-unix.el

index 2fb08d290c73f54a57e2f8e3e8984f5c00f5e660..0a41b04875ef9e4e02b596a7d82fabf30c3e2c0f 100644 (file)
@@ -141,9 +141,7 @@ Otherwise, Emacs will attempt to use rsh to invoke du on the remote machine."
 
 (defun eshell-unix-initialize ()
   "Initialize the UNIX support/emulation code."
-  (make-local-hook 'eshell-post-command-hook)
   (when (eshell-using-module 'eshell-cmpl)
-    (make-local-hook 'pcomplete-try-first-hook)
     (add-hook 'pcomplete-try-first-hook
              'eshell-complete-host-reference nil t))
   (make-local-variable 'eshell-complex-commands)