* lisp/isearch.el (isearch-search): Don't bind inhibit-point-motion-hooks

The let-binding was added back in 1997 (commit 79c7a4fa5f)
"because we might have to search inside invisible and intangible text".
So it's been redundant since Emacs-25 changed the default to t.
This commit is contained in:
Stefan Monnier 2022-10-07 14:07:17 -04:00
parent c61010567f
commit e3824f0a31

View file

@ -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))