[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r100452: * eshell.texi (Built-ins): D
From: |
Michael Albinus |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r100452: * eshell.texi (Built-ins): Describe, how to disable a built-in command |
Date: |
Wed, 26 May 2010 12:10:05 +0200 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 100452
committer: Michael Albinus <address@hidden>
branch nick: trunk
timestamp: Wed 2010-05-26 12:10:05 +0200
message:
* eshell.texi (Built-ins): Describe, how to disable a built-in command
by an alias.
modified:
doc/misc/ChangeLog
doc/misc/eshell.texi
=== modified file 'doc/misc/ChangeLog'
--- a/doc/misc/ChangeLog 2010-05-16 04:43:09 +0000
+++ b/doc/misc/ChangeLog 2010-05-26 10:10:05 +0000
@@ -1,3 +1,8 @@
+2010-05-26 Michael Albinus <address@hidden>
+
+ * eshell.texi (Built-ins): Describe, how to disable a built-in command
+ by an alias.
+
2010-05-16 Jay Belanger <address@hidden>
* calc.texi (Manipulating Vectors): Mention that vectors can
=== modified file 'doc/misc/eshell.texi'
--- a/doc/misc/eshell.texi 2010-01-13 08:35:10 +0000
+++ b/doc/misc/eshell.texi 2010-05-26 10:10:05 +0000
@@ -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:
+
address@hidden
+~ $ 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 $*"
address@hidden example
+
Some of the built-in commands have a special behaviour in Eshell:
@table @code
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r100452: * eshell.texi (Built-ins): Describe, how to disable a built-in command,
Michael Albinus <=