diff options
| -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 @@ | |||
| 1 | 2010-05-26 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | * eshell.texi (Built-ins): Describe, how to disable a built-in command | ||
| 4 | by an alias. (Bug#6226) | ||
| 5 | |||
| 1 | 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com> | 6 | 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com> |
| 2 | 7 | ||
| 3 | * calc.texi (Manipulating Vectors): Mention that vectors can | 8 | * 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' | |||
| 369 | /bin/ls | 369 | /bin/ls |
| 370 | @end example | 370 | @end example |
| 371 | 371 | ||
| 372 | If you want to discard a given built-in command, you could declare an | ||
| 373 | alias, @ref{Aliases}. Eample: | ||
| 374 | |||
| 375 | @example | ||
| 376 | ~ $ which sudo | ||
| 377 | eshell/sudo is a compiled Lisp function in `em-unix.el' | ||
| 378 | ~ $ alias sudo '*sudo $*' | ||
| 379 | ~ $ which sudo | ||
| 380 | sudo is an alias, defined as "*sudo $*" | ||
| 381 | @end example | ||
| 382 | |||
| 372 | Some of the built-in commands have a special behaviour in Eshell: | 383 | Some of the built-in commands have a special behaviour in Eshell: |
| 373 | 384 | ||
| 374 | @table @code | 385 | @table @code |