/[emacs]/emacs/lisp/eshell/em-dirs.el
ViewVC logotype

Diff of /emacs/lisp/eshell/em-dirs.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by pj, Sun Jul 15 19:53:53 2001 UTC revision 1.9 by pj, Sat Feb 16 09:38:26 2002 UTC
# Line 211  Thus, this does not include the current Line 211  Thus, this does not include the current
211                        'eshell-dirs-substitute-cd)                        'eshell-dirs-substitute-cd)
212                  eshell-interpreter-alist)))                  eshell-interpreter-alist)))
213    
   (make-local-hook 'eshell-parse-argument-hook)  
214    (add-hook 'eshell-parse-argument-hook    (add-hook 'eshell-parse-argument-hook
215              'eshell-parse-user-reference nil t)              'eshell-parse-user-reference nil t)
216    (if (eshell-under-windows-p)    (if (eshell-under-windows-p)
# Line 219  Thus, this does not include the current Line 218  Thus, this does not include the current
218                  'eshell-parse-drive-letter nil t))                  'eshell-parse-drive-letter nil t))
219    
220    (when (eshell-using-module 'eshell-cmpl)    (when (eshell-using-module 'eshell-cmpl)
     (make-local-hook 'pcomplete-try-first-hook)  
221      (add-hook 'pcomplete-try-first-hook      (add-hook 'pcomplete-try-first-hook
222                'eshell-complete-user-reference nil t))                'eshell-complete-user-reference nil t))
223    
# Line 231  Thus, this does not include the current Line 229  Thus, this does not include the current
229    (unless eshell-last-dir-ring    (unless eshell-last-dir-ring
230      (setq eshell-last-dir-ring (make-ring eshell-last-dir-ring-size)))      (setq eshell-last-dir-ring (make-ring eshell-last-dir-ring-size)))
231    
   (make-local-hook 'eshell-exit-hook)  
232    (add-hook 'eshell-exit-hook 'eshell-write-last-dir-ring nil t)    (add-hook 'eshell-exit-hook 'eshell-write-last-dir-ring nil t)
233    
234    (add-hook 'kill-emacs-hook 'eshell-save-some-last-dir))    (add-hook 'kill-emacs-hook 'eshell-save-some-last-dir))

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26