(SETUP_SYNTAX_TABLE_FOR_OBJECT): Treat nil like a buffer.
This commit is contained in:
parent
70837f2c6d
commit
0d3573ee67
1 changed files with 1 additions and 1 deletions
|
@ -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; \
|
||||
|
|
Loading…
Add table
Reference in a new issue