diff options
| author | Juri Linkov | 2011-08-24 12:40:58 +0300 |
|---|---|---|
| committer | Juri Linkov | 2011-08-24 12:40:58 +0300 |
| commit | 11dcdbb283eb9efddf73939d3c3d12404731833f (patch) | |
| tree | 1a3b0f7e6ebed11057f00ed563247810f546e52a /src | |
| parent | f67cdd7f258347b3fe21fa3c8bfc335decad02d6 (diff) | |
| download | emacs-11dcdbb283eb9efddf73939d3c3d12404731833f.tar.gz emacs-11dcdbb283eb9efddf73939d3c3d12404731833f.zip | |
"C-s M-p" brings the tip of the search ring.
* lisp/isearch.el (isearch-ring-adjust1): Start visiting previous
search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
(isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
for empty search string (when the last search string is reused
automatically) to adjust the isearch ring to the last element and
prepare the correct index for further M-p commands.
Fixes: debbugs:9185
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions