(SETUP_SYNTAX_TABLE_FOR_OBJECT): Treat nil like a buffer.

This commit is contained in:
Richard M. Stallman 1997-07-05 02:41:45 +00:00
parent 70837f2c6d
commit 0d3573ee67

View file

@ -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; \