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 | e31a6274b2bb534338d8b7df7cd9913e9cdc253b (patch) | |
tree | 98409f5218112baf95f5c18ef5eb214d4d182934 /src/syntax.h | |
parent | f1497bc41ee5ab6f2d275f6dd4d654e8c3794ded (diff) | |
download | emacs-e31a6274b2bb534338d8b7df7cd9913e9cdc253b.tar.gz |
(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]; 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; \ |