changeset 6196:390dfe557c7d

(skip_chars): Treat `-' as alias for space, if syntaxp.
author Richard M. Stallman <rms@gnu.org>
date Fri, 04 Mar 1994 04:42:04 +0000
parents f5f8e0bcfaaf
children 8ddddba0de43
files src/search.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/search.c	Fri Mar 04 04:38:06 1994 +0000
+++ b/src/search.c	Fri Mar 04 04:42:04 1994 +0000
@@ -472,6 +472,9 @@
 	}
     }
 
+  if (syntaxp && fastmap['-'] != 0)
+    fastmap[' '] = 1;
+
   /* If ^ was the first character, complement the fastmap. */
 
   if (negate)