diff options
author | Gerd Moellmann <gerd@gnu.org> | 2001-11-16 10:49:50 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2001-11-16 10:49:50 +0000 |
commit | 49fd1d93a6a8c2bd06e59fb19a61b1be2b4e827a (patch) | |
tree | 00f5fa4c0ba2ef8783e5fefcd1f1400b34d35b18 | |
parent | 8db72564d68a275be44f92072f4496472f664bc6 (diff) | |
download | emacs-49fd1d93a6a8c2bd06e59fb19a61b1be2b4e827a.tar.gz |
(matching_regexp): Escape '\\'.
-rw-r--r-- | lib-src/ChangeLog | 4 | ||||
-rw-r--r-- | lib-src/ebrowse.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 8e7d8684a34..3237291f75b 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,7 @@ +2001-11-16 Gerd Moellmann <gerd@gnu.org> + + * ebrowse.c (matching_regexp): Escape '\\'. + 2001-10-20 Gerd Moellmann <gerd@gnu.org> * Version 21.1 released. diff --git a/lib-src/ebrowse.c b/lib-src/ebrowse.c index 34b02e3df4f..69bd057a59c 100644 --- a/lib-src/ebrowse.c +++ b/lib-src/ebrowse.c @@ -2050,7 +2050,7 @@ matching_regexp () { *--s = *--t; - if (*s == '"') + if (*s == '"' || *s == '\\') *--s = '\\'; } |