]> git.eshelyaron.com Git - emacs.git/commitdiff
(skip_chars): Treat `-' as alias for space, if syntaxp.
authorRichard M. Stallman <rms@gnu.org>
Fri, 4 Mar 1994 04:42:04 +0000 (04:42 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 4 Mar 1994 04:42:04 +0000 (04:42 +0000)
src/search.c

index 4d39d38c68ae28cc83823a9c998705edc5c9e751..1e4b72bd9c02752308648d39c85dadac0361b291 100644 (file)
@@ -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)