diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-07-05 02:41:45 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-07-05 02:41:45 +0000 |
commit | 0d3573ee676c2bacc3921ff616cc0709466a8e5b (patch) | |
tree | 8139837f0824b1541298785ee0c36fd5e3951bd9 | |
parent | 70837f2c6d27cba704e4992dae78e0b2d95cf412 (diff) | |
download | emacs-0d3573ee676c2bacc3921ff616cc0709466a8e5b.tar.gz |
(SETUP_SYNTAX_TABLE_FOR_OBJECT): Treat nil like a buffer.
-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]; If it is t, ignore properties altogether. */ #define SETUP_SYNTAX_TABLE_FOR_OBJECT(object, from, count) \ - if (BUFFERP (object)) \ + if (BUFFERP (object) || NILP (object)) \ { \ gl_state.b_property = BEGV - 1; \ gl_state.e_property = ZV; \ |