aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog1
-rw-r--r--doc/emacs/misc.texi27
2 files changed, 13 insertions, 15 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 4ed2ac129e7..741b226267d 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -6,6 +6,7 @@
6 * emacs.texi: Update node description. 6 * emacs.texi: Update node description.
7 7
8 * misc.texi (Navigation): Document doc-view-continuous. 8 * misc.texi (Navigation): Document doc-view-continuous.
9 (Shell Ring): Document new M-r binding. M-s is no longer bound.
9 10
102010-03-24 Glenn Morris <rgm@gnu.org> 112010-03-24 Glenn Morris <rgm@gnu.org>
11 12
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi
index 29d529c2a86..808c3bfc3d3 100644
--- a/doc/emacs/misc.texi
+++ b/doc/emacs/misc.texi
@@ -966,12 +966,9 @@ Fetch the next earlier old shell command.
966Fetch the next later old shell command. 966Fetch the next later old shell command.
967 967
968@kindex M-r @r{(Shell mode)} 968@kindex M-r @r{(Shell mode)}
969@kindex M-s @r{(Shell mode)} 969@findex comint-history-isearch-backward-regexp
970@findex comint-previous-matching-input 970@item M-r
971@findex comint-next-matching-input 971Begin an incremental regexp search of old shell commands.
972@item M-r @var{regexp} @key{RET}
973@itemx M-s @var{regexp} @key{RET}
974Search backwards or forwards for old shell commands that match @var{regexp}.
975 972
976@item C-c C-x 973@item C-c C-x
977@kindex C-c C-x @r{(Shell mode)} 974@kindex C-c C-x @r{(Shell mode)}
@@ -1004,15 +1001,15 @@ successively more recent shell commands from the buffer.
1004@kbd{C-@key{UP}} works like @kbd{M-p}, and @kbd{C-@key{DOWN}} like 1001@kbd{C-@key{UP}} works like @kbd{M-p}, and @kbd{C-@key{DOWN}} like
1005@kbd{M-n}. 1002@kbd{M-n}.
1006 1003
1007 The history search commands @kbd{M-r} and @kbd{M-s} read a regular 1004 The history search command @kbd{M-r} begins an incremental regular
1008expression and search through the history for a matching command. Aside 1005expression search of previous shell commands. After typing @kbd{M-r},
1009from the choice of which command to fetch, they work just like @kbd{M-p} 1006start typing the desired string or regular expression; the last
1010and @kbd{M-n}. If you enter an empty regexp, these commands reuse the 1007matching shell command will be displayed in the current line.
1011same regexp used last time. 1008Incremental search commands have their usual effects---for instance,
1012 1009@kbd{C-s} and @kbd{C-r} search forward and backward for the next match
1013 When you find the previous input you want, you can resubmit it by 1010(@pxref{Incremental Search}). When you find the desired input, type
1014typing @key{RET}, or you can edit it first and then resubmit it if you 1011@key{RET} to terminate the search. This puts the input in the command
1015wish. Any partial input you were composing before navigating the 1012line. Any partial input you were composing before navigating the
1016history list is restored when you go to the beginning or end of the 1013history list is restored when you go to the beginning or end of the
1017history ring. 1014history ring.
1018 1015