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:
parent
7a12a2f7e8
commit
ec0a2f45a2
1 changed files with 3 additions and 0 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue