aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorJuri Linkov2018-11-21 01:43:21 +0200
committerJuri Linkov2018-11-21 01:43:21 +0200
commit166f6274b4118344612e60fba831e223728f3e89 (patch)
tree5912a969d7e022807e2545ead7c23ffc5fdf0ff4 /etc
parent11c9343fe63fdc8bfef3246d95f42523d73fb733 (diff)
downloademacs-166f6274b4118344612e60fba831e223728f3e89.tar.gz
emacs-166f6274b4118344612e60fba831e223728f3e89.zip
Add prefix arg to isearch-repeat-forward/backward (bug#14563, bug#29321)
* lisp/isearch.el (isearch-repeat): Add optional arg COUNT. Add a while-loop that calls `isearch-search' COUNT times. (isearch-repeat-forward, isearch-repeat-backward): Add optional prefix ARG passed down to `isearch-repeat'. Handle reversed directions.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 1382b4d81e5..4ed312c7216 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -640,6 +640,11 @@ can now be searched via 'C-s'.
640 640
641** Search and Replace 641** Search and Replace
642 642
643*** Isearch supports a prefix argument for 'C-s' ('isearch-repeat-forward')
644and 'C-r' ('isearch-repeat-backward'). With a prefix argument, these
645commands repeat the search for the specified occurrence of the search string.
646A negative argument repeats the search in the opposite direction.
647
643*** 'isearch-lazy-count' shows the current match number and total number 648*** 'isearch-lazy-count' shows the current match number and total number
644of matches in the Isearch prompt. Customizable variables 649of matches in the Isearch prompt. Customizable variables
645'lazy-count-prefix-format' and 'lazy-count-suffix-format' define the 650'lazy-count-prefix-format' and 'lazy-count-suffix-format' define the