summaryrefslogtreecommitdiff
path: root/src/syntax.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-07-05 02:41:45 +0000
committerRichard M. Stallman <rms@gnu.org>1997-07-05 02:41:45 +0000
commite31a6274b2bb534338d8b7df7cd9913e9cdc253b (patch)
tree98409f5218112baf95f5c18ef5eb214d4d182934 /src/syntax.h
parentf1497bc41ee5ab6f2d275f6dd4d654e8c3794ded (diff)
downloademacs-e31a6274b2bb534338d8b7df7cd9913e9cdc253b.tar.gz
(SETUP_SYNTAX_TABLE_FOR_OBJECT): Treat nil like a buffer.
Diffstat (limited to 'src/syntax.h')
-rw-r--r--src/syntax.h2
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; \