diff options
| author | Noam Postavsky | 2019-08-08 19:35:53 -0400 |
|---|---|---|
| committer | Noam Postavsky | 2019-08-08 19:35:53 -0400 |
| commit | b055ec0d85848987d0ba3962c32fb822b292dfd7 (patch) | |
| tree | 12660ecec855381176bee078b128893596b1bf8e /doc | |
| parent | f9beb2bfa9cdccde79793ab2ab8b88797b30b9f0 (diff) | |
| download | emacs-b055ec0d85848987d0ba3962c32fb822b292dfd7.tar.gz emacs-b055ec0d85848987d0ba3962c32fb822b292dfd7.zip | |
Say how to enable event designators in the eshell manual
* doc/misc/eshell.texi (History): Mention that event designators need
to be enabled.
* etc/NEWS: Mark corresponding entry as documented in manual.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/misc/eshell.texi | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/misc/eshell.texi b/doc/misc/eshell.texi index 716b4b7a50d..9aba6006b1b 100644 --- a/doc/misc/eshell.texi +++ b/doc/misc/eshell.texi | |||
| @@ -462,10 +462,14 @@ The n-th entry of the history ring can be applied with the @samp{!n} | |||
| 462 | command. If @code{n} is negative, the entry is counted from the end | 462 | command. If @code{n} is negative, the entry is counted from the end |
| 463 | of the history ring. | 463 | of the history ring. |
| 464 | 464 | ||
| 465 | @samp{!foo} expands to the last command beginning with @code{foo}, and | 465 | @cindex event designators |
| 466 | @samp{!?foo} to the last command containing @code{foo}. The n-th | 466 | @findex eshell-expand-history-references |
| 467 | argument of the last command beginning with @code{foo} is accessible | 467 | When history event designators are enabled (by adding |
| 468 | by @code{!foo:n}. | 468 | @code{eshell-expand-history-references} to |
| 469 | @code{eshell-expand-input-functions}), @samp{!foo} expands to the last | ||
| 470 | command beginning with @code{foo}, and @samp{!?foo} to the last | ||
| 471 | command containing @code{foo}. The n-th argument of the last command | ||
| 472 | beginning with @code{foo} is accessible by @code{!foo:n}. | ||
| 469 | 473 | ||
| 470 | The history ring is loaded from a file at the start of every session, | 474 | The history ring is loaded from a file at the start of every session, |
| 471 | and written back to the file at the end of every session. The file path | 475 | and written back to the file at the end of every session. The file path |