]> git.eshelyaron.com Git - emacs.git/commit
Improve isearch in auto-narrow-mode.
authorGregory Heytings <gregory@heytings.org>
Wed, 6 Jul 2022 12:32:51 +0000 (12:32 +0000)
committerGregory Heytings <gregory@heytings.org>
Wed, 6 Jul 2022 12:41:58 +0000 (14:41 +0200)
commit051d2a1e36a934175b7c487c592126f0aeb7591e
treec3fb85d5beadc3aba73bab252bdd94b03b599b45
parenteb6d2fb58da56583490b18f4bfd705844b42180f
Improve isearch in auto-narrow-mode.

* lisp/isearch.el (isearch-search): Set isearch-lazy-highlight to nil before
widening in auto-narrow-mode.

* lisp/files.el (auto-narrow--isearch-lazy-highlight): New internal variable.
(auto-narrow-pre-command-function, auto-narrow-post-command-function): Use it.
lisp/files.el
lisp/isearch.el