diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2022-10-07 14:07:17 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2022-10-07 14:07:17 -0400 |
commit | e3824f0a3189d0902d64a70ae9c82ff1240aed5f (patch) | |
tree | a840119492c44bd8ab054152d160d3ae5e4b4288 /lisp/isearch.el | |
parent | c61010567f418e38dad2fcdc4e102c0561ce23c3 (diff) | |
download | emacs-e3824f0a3189d0902d64a70ae9c82ff1240aed5f.tar.gz emacs-e3824f0a3189d0902d64a70ae9c82ff1240aed5f.tar.bz2 emacs-e3824f0a3189d0902d64a70ae9c82ff1240aed5f.zip |
* lisp/isearch.el (isearch-search): Don't bind `inhibit-point-motion-hooks`
The let-binding was added back in 1997 (commit 79c7a4fa5f974a9d3b)
"because we might have to search inside invisible and intangible text".
So it's been redundant since Emacs-25 changed the default to t.
Diffstat (limited to 'lisp/isearch.el')
-rw-r--r-- | lisp/isearch.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el index 3e840b014fc..bc3697deb0a 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -3649,8 +3649,7 @@ Optional third argument, if t, means if fail just return nil (no error). (setq isearch-case-fold-search (isearch-no-upper-case-p isearch-string isearch-regexp))) (condition-case lossage - (let ((inhibit-point-motion-hooks isearch-invisible) - (inhibit-quit nil) + (let ((inhibit-quit nil) (case-fold-search isearch-case-fold-search) (search-invisible isearch-invisible) (retry t)) |