diff options
author | Juri Linkov <juri@linkov.net> | 2020-01-15 02:02:53 +0200 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2020-01-15 02:02:53 +0200 |
commit | fdee034ac83ae2c6b31ab7ebae248524cba17422 (patch) | |
tree | e3795e9f06e743a8d071d65703ac10d28f39371f /lisp/emacs-lisp/cl-seq.el | |
parent | 7b14329d86aec2ad3d33de557ecb2ea103f6b0ea (diff) | |
download | emacs-fdee034ac83ae2c6b31ab7ebae248524cba17422.tar.gz emacs-fdee034ac83ae2c6b31ab7ebae248524cba17422.tar.bz2 emacs-fdee034ac83ae2c6b31ab7ebae248524cba17422.zip |
* lisp/isearch.el: Fix corner cases of isearch-lazy-count.
* lisp/isearch.el (isearch-mode): Reset isearch-lazy-count-current
and isearch-lazy-count-total to nil, so when isearch-mode is started,
there should be no counts from previous Isearch.
(isearch-lazy-highlight-new-loop): Call isearch-message after resetting
lazy-count variables only when isearch-mode is started. This avoids
the problem of inappropriate calls of isearch-message-function
when query-replace in the minibuffer performs lazy-highlighting that
used to call minibuffer-history-isearch-message unnecessarily.
Diffstat (limited to 'lisp/emacs-lisp/cl-seq.el')
0 files changed, 0 insertions, 0 deletions