diff options
| author | Karl Heuer | 1998-09-25 16:53:04 +0000 |
|---|---|---|
| committer | Karl Heuer | 1998-09-25 16:53:04 +0000 |
| commit | ec0a2f45a2c603eac4f598019c6204bdeb9007c6 (patch) | |
| tree | f42ec94de449035ce14f0e146c506b2d86840b8b | |
| parent | 7a12a2f7e84b771a5cb80ce3d63e7732b3f89852 (diff) | |
| download | emacs-ec0a2f45a2c603eac4f598019c6204bdeb9007c6.tar.gz emacs-ec0a2f45a2c603eac4f598019c6204bdeb9007c6.zip | |
(isearch-search-and-update): Properly
handle upper case letters in the reverse-search special case.
| -rw-r--r-- | lisp/isearch.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el index 96287ae0b4b..aef204c02cc 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el | |||
| @@ -1032,6 +1032,9 @@ To do that, evaluate these expressions: | |||
| 1032 | (if (and (not isearch-forward) (not isearch-adjusted) | 1032 | (if (and (not isearch-forward) (not isearch-adjusted) |
| 1033 | (condition-case () | 1033 | (condition-case () |
| 1034 | (let ((case-fold-search isearch-case-fold-search)) | 1034 | (let ((case-fold-search isearch-case-fold-search)) |
| 1035 | (if (and (eq case-fold-search t) search-upper-case) | ||
| 1036 | (setq case-fold-search | ||
| 1037 | (isearch-no-upper-case-p isearch-string isearch-regexp))) | ||
| 1035 | (looking-at (if isearch-regexp isearch-string | 1038 | (looking-at (if isearch-regexp isearch-string |
| 1036 | (regexp-quote isearch-string)))) | 1039 | (regexp-quote isearch-string)))) |
| 1037 | (error nil)) | 1040 | (error nil)) |