From: Gerd Moellmann Date: Fri, 16 Nov 2001 10:49:50 +0000 (+0000) Subject: (matching_regexp): Escape '\\'. X-Git-Tag: emacs-21.2~307 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=49fd1d93a6a8c2bd06e59fb19a61b1be2b4e827a;p=emacs.git (matching_regexp): Escape '\\'. --- 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 + + * ebrowse.c (matching_regexp): Escape '\\'. + 2001-10-20 Gerd Moellmann * 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 = '\\'; }