diff options
| author | Richard M. Stallman | 1997-07-05 02:41:45 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-07-05 02:41:45 +0000 |
| commit | 0d3573ee676c2bacc3921ff616cc0709466a8e5b (patch) | |
| tree | 8139837f0824b1541298785ee0c36fd5e3951bd9 /src/syntax.h | |
| parent | 70837f2c6d27cba704e4992dae78e0b2d95cf412 (diff) | |
| download | emacs-0d3573ee676c2bacc3921ff616cc0709466a8e5b.tar.gz emacs-0d3573ee676c2bacc3921ff616cc0709466a8e5b.zip | |
(SETUP_SYNTAX_TABLE_FOR_OBJECT): Treat nil like a buffer.
Diffstat (limited to 'src/syntax.h')
| -rw-r--r-- | src/syntax.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax.h b/src/syntax.h index bcd90562d29..c8c29cba7cc 100644 --- a/src/syntax.h +++ b/src/syntax.h | |||
| @@ -235,7 +235,7 @@ extern char syntax_code_spec[16]; | |||
| 235 | If it is t, ignore properties altogether. */ | 235 | If it is t, ignore properties altogether. */ |
| 236 | 236 | ||
| 237 | #define SETUP_SYNTAX_TABLE_FOR_OBJECT(object, from, count) \ | 237 | #define SETUP_SYNTAX_TABLE_FOR_OBJECT(object, from, count) \ |
| 238 | if (BUFFERP (object)) \ | 238 | if (BUFFERP (object) || NILP (object)) \ |
| 239 | { \ | 239 | { \ |
| 240 | gl_state.b_property = BEGV - 1; \ | 240 | gl_state.b_property = BEGV - 1; \ |
| 241 | gl_state.e_property = ZV; \ | 241 | gl_state.e_property = ZV; \ |