From f4be3f89294c67a7a0846284c72dbd4982af2eb6 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 9 Dec 2002 20:23:35 +0000 Subject: [PATCH] (isearch-no-upper-case-p): \\ only quotes one character. --- lisp/isearch.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/isearch.el b/lisp/isearch.el index f0f8e5b4fbe..b8103285aec 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -1871,7 +1871,8 @@ since they have special meaning in a regexp." (if (and regexp-flag (eq char ?\\)) (setq quote-flag (not quote-flag)) (if (and (not quote-flag) (not (eq char (downcase char)))) - (setq found t)))) + (setq found t)) + (setq quote-flag nil))) (setq i (1+ i))) (not found))) -- 2.39.5