1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 16:51:06 -07:00

(isearch-search-and-update): Properly

handle upper case letters in the reverse-search special case.
This commit is contained in:
Karl Heuer 1998-09-25 16:53:04 +00:00
parent 7a12a2f7e8
commit ec0a2f45a2

View file

@ -1032,6 +1032,9 @@ To do that, evaluate these expressions:
(if (and (not isearch-forward) (not isearch-adjusted)
(condition-case ()
(let ((case-fold-search isearch-case-fold-search))
(if (and (eq case-fold-search t) search-upper-case)
(setq case-fold-search
(isearch-no-upper-case-p isearch-string isearch-regexp)))
(looking-at (if isearch-regexp isearch-string
(regexp-quote isearch-string))))
(error nil))