diff options
| author | Michael Albinus <michael.albinus@gmx.de> | 2010-05-26 12:13:45 +0200 |
|---|---|---|
| committer | Michael Albinus <michael.albinus@gmx.de> | 2010-05-26 12:13:45 +0200 |
| commit | 9841cb4f56bae50c1f31d4fde591a356d3fbf5dc (patch) | |
| tree | 261b3bfc4044774497e9a04d7cd88b3f17e997f9 | |
| parent | 467c1419c5c566cc455a9fb11ed85dea24177ac0 (diff) | |
| download | emacs-9841cb4f56bae50c1f31d4fde591a356d3fbf5dc.tar.gz | |
* eshell.texi (Built-ins): Describe, how to disable a built-in command
by an alias.
| -rw-r--r-- | doc/misc/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/misc/eshell.texi | 11 |
2 files changed, 16 insertions, 0 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 4c857c45a32..c77e1f1c847 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@ -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. (Bug#6226) + 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com> * calc.texi (Manipulating Vectors): Mention that vectors can diff --git a/doc/misc/eshell.texi b/doc/misc/eshell.texi index c32aa659e12..96825559197 100644 --- a/doc/misc/eshell.texi +++ b/doc/misc/eshell.texi @@ -369,6 +369,17 @@ eshell/ls is a compiled Lisp function in `em-ls.el' /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 |
