From: Richard M. Stallman Date: Fri, 4 Mar 1994 04:42:04 +0000 (+0000) Subject: (skip_chars): Treat `-' as alias for space, if syntaxp. X-Git-Tag: emacs-19.34~9656 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9239c6c1ee1034cbc8e9c7e02837a6b158334733;p=emacs.git (skip_chars): Treat `-' as alias for space, if syntaxp. --- diff --git a/src/search.c b/src/search.c index 4d39d38c68a..1e4b72bd9c0 100644 --- a/src/search.c +++ b/src/search.c @@ -472,6 +472,9 @@ skip_chars (forwardp, syntaxp, string, lim) } } + if (syntaxp && fastmap['-'] != 0) + fastmap[' '] = 1; + /* If ^ was the first character, complement the fastmap. */ if (negate)