aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2006-03-01 01:38:20 +0000
committerKenichi Handa2006-03-01 01:38:20 +0000
commit62221f221cfccea3b8bf4b3757c0bb16e58ba21d (patch)
tree4da2e7b0874ab2e439daf4332a7d60a7ed8d207c /src
parent16f3e413e76951a8fb59b5f39dfab399b1a9c43c (diff)
downloademacs-62221f221cfccea3b8bf4b3757c0bb16e58ba21d.tar.gz
emacs-62221f221cfccea3b8bf4b3757c0bb16e58ba21d.zip
(search_buffer): Fix handling of "\\" in a trivial regexp.
Diffstat (limited to 'src')
-rw-r--r--src/search.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/search.c b/src/search.c
index 285bb92c37b..239957e1552 100644
--- a/src/search.c
+++ b/src/search.c
@@ -1209,6 +1209,7 @@ search_buffer (string, pos, pos_byte, lim, lim_byte, n,
1209 if (RE && *base_pat == '\\') 1209 if (RE && *base_pat == '\\')
1210 { 1210 {
1211 len--; 1211 len--;
1212 raw_pattern_size--;
1212 len_byte--; 1213 len_byte--;
1213 base_pat++; 1214 base_pat++;
1214 } 1215 }