comparison lisp/eshell/em-unix.el @ 43334:fcff0a75131f

(eshell-unix-initialize): Do not use make-local-hook.
author Pavel Janík <Pavel@Janik.cz>
date Sat, 16 Feb 2002 09:41:35 +0000
parents 3a906538d254
children 72f226ee8247
comparison
equal deleted inserted replaced
43333:8ef92d7fb166 43334:fcff0a75131f
139 139
140 ;;; Functions: 140 ;;; Functions:
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)
150 (setq eshell-complex-commands 148 (setq eshell-complex-commands
151 (append '("grep" "egrep" "fgrep" "agrep" "glimpse" "locate" 149 (append '("grep" "egrep" "fgrep" "agrep" "glimpse" "locate"