summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-06-26 19:01:50 +0100
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-06-26 19:03:01 +0100
commitaa2da6ef104b0abf0ee310c9c96ee5451d01bff5 (patch)
tree10d5ac2910c166a1edb7dadbc3262053f7ca885a
parentff80437668dd0d5163c9e43f0c200b923b39166b (diff)
downloademacs-aa2da6ef104b0abf0ee310c9c96ee5451d01bff5.tar.gz
* lisp/replace.el (replace-search): Fix regexp case (bug#20901)
-rw-r--r--lisp/replace.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/replace.el b/lisp/replace.el
index 65a2b41f1ea..41debdd9cf7 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -2014,6 +2014,7 @@ It is called with three arguments, as if it were
(let* ((isearch-regexp regexp-flag)
(isearch-word (or delimited-flag
(and replace-character-fold
+ (not regexp-flag)
#'character-fold-to-regexp)))
(isearch-lax-whitespace
replace-lax-whitespace)