mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
(isearch-repeat): When changing direction, mark search successful.
This commit is contained in:
parent
a335c7d564
commit
f4c49513ec
1 changed files with 2 additions and 1 deletions
|
|
@ -1147,7 +1147,8 @@ Use `isearch-exit' to quit without signaling."
|
|||
(funcall isearch-wrap-function)
|
||||
(goto-char (if isearch-forward (point-min) (point-max)))))))
|
||||
;; C-s in reverse or C-r in forward, change direction.
|
||||
(setq isearch-forward (not isearch-forward)))
|
||||
(setq isearch-forward (not isearch-forward)
|
||||
isearch-success t))
|
||||
|
||||
(setq isearch-barrier (point)) ; For subsequent \| if regexp.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue