Mercurial > emacs
changeset 108794:0aab456fe7bd
* eshell.texi (Built-ins): Describe, how to disable a built-in command
by an alias.
author | Michael Albinus <michael.albinus@gmx.de> |
---|---|
date | Wed, 26 May 2010 12:10:05 +0200 |
parents | d38bcb4008ab |
children | 3b30e312882a |
files | doc/misc/ChangeLog doc/misc/eshell.texi |
diffstat | 2 files changed, 16 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/misc/ChangeLog Tue May 25 23:48:25 2010 -0700 +++ b/doc/misc/ChangeLog Wed May 26 12:10:05 2010 +0200 @@ -1,3 +1,8 @@ +2010-05-26 Michael Albinus <michael.albinus@gmx.de> + + * eshell.texi (Built-ins): Describe, how to disable a built-in command + by an alias. + 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com> * calc.texi (Manipulating Vectors): Mention that vectors can
--- a/doc/misc/eshell.texi Tue May 25 23:48:25 2010 -0700 +++ b/doc/misc/eshell.texi Wed May 26 12:10:05 2010 +0200 @@ -369,6 +369,17 @@ /bin/ls @end example +If you want to discard a given built-in command, you could declare an +alias, @ref{Aliases}. Eample: + +@example +~ $ which sudo +eshell/sudo is a compiled Lisp function in `em-unix.el' +~ $ alias sudo '*sudo $*' +~ $ which sudo +sudo is an alias, defined as "*sudo $*" +@end example + Some of the built-in commands have a special behaviour in Eshell: @table @code