]> git.eshelyaron.com Git - emacs.git/commit
New hook, lazy-count-update-hook
authorAugusto Stoffel <arstoffel@gmail.com>
Sun, 20 Mar 2022 19:43:10 +0000 (20:43 +0100)
committerJuri Linkov <juri@linkov.net>
Sun, 20 Mar 2022 20:25:12 +0000 (22:25 +0200)
commit3d204afe3c80cf4b8ab39dfbdb180884630e815b
tree2c55c806e659d6dca8074fab6975a23af291d981
parenta31be116aeee43b7a2e14d53db226933d4e8a012
New hook, lazy-count-update-hook

* lisp/isearch.el (lazy-count-update-hook): New hook allowing to
display the lazy count in special ways.
(isearch-lazy-highlight-new-loop,
isearch-lazy-highlight-buffer-update): Run `lazy-count-update-hook' at
appropriate times.
* lisp/comint.el (comint-history-isearch-setup,
comint-history-isearch-end): Make sure no lazy count is displayed.
* lisp/simple.el (minibuffer-history-isearch-setup): Make sure no lazy
count is displayed.
lisp/comint.el
lisp/isearch.el
lisp/simple.el