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

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

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

revision 1.7 by pj, Sun Jul 15 19:53:53 2001 UTC revision 1.8 by pj, Sat Feb 16 09:36:43 2002 UTC
# Line 147  command, which will automatically write Line 147  command, which will automatically write
147  (defun eshell-alias-initialize ()  (defun eshell-alias-initialize ()
148    "Initialize the alias handling code."    "Initialize the alias handling code."
149    (make-local-variable 'eshell-failed-commands-alist)    (make-local-variable 'eshell-failed-commands-alist)
   (make-local-hook 'eshell-alternate-command-hook)  
150    (add-hook 'eshell-alternate-command-hook 'eshell-fix-bad-commands t t)    (add-hook 'eshell-alternate-command-hook 'eshell-fix-bad-commands t t)
151    (eshell-read-aliases-list)    (eshell-read-aliases-list)
   (make-local-hook 'eshell-named-command-hook)  
152    (add-hook 'eshell-named-command-hook 'eshell-maybe-replace-by-alias t t)    (add-hook 'eshell-named-command-hook 'eshell-maybe-replace-by-alias t t)
153    (make-local-variable 'eshell-complex-commands)    (make-local-variable 'eshell-complex-commands)
154    (add-to-list 'eshell-complex-commands 'eshell-command-aliased-p))    (add-to-list 'eshell-complex-commands 'eshell-command-aliased-p))

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

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