summaryrefslogtreecommitdiff
path: root/src/syntax.h
diff options
context:
space:
mode:
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; \