diff options
| author | Richard M. Stallman | 1994-03-04 04:42:04 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-03-04 04:42:04 +0000 |
| commit | 9239c6c1ee1034cbc8e9c7e02837a6b158334733 (patch) | |
| tree | 3b06b69e196d04a66a084d25629e2d6546c65def /src | |
| parent | acc8cdd2122a8575526d8e06f586b63c4b600e80 (diff) | |
| download | emacs-9239c6c1ee1034cbc8e9c7e02837a6b158334733.tar.gz emacs-9239c6c1ee1034cbc8e9c7e02837a6b158334733.zip | |
(skip_chars): Treat `-' as alias for space, if syntaxp.
Diffstat (limited to 'src')
| -rw-r--r-- | src/search.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) | |||
| 472 | } | 472 | } |
| 473 | } | 473 | } |
| 474 | 474 | ||
| 475 | if (syntaxp && fastmap['-'] != 0) | ||
| 476 | fastmap[' '] = 1; | ||
| 477 | |||
| 475 | /* If ^ was the first character, complement the fastmap. */ | 478 | /* If ^ was the first character, complement the fastmap. */ |
| 476 | 479 | ||
| 477 | if (negate) | 480 | if (negate) |