# HG changeset patch # User Richard M. Stallman # Date 868070505 0 # Node ID 9b5b989d18576f6fcac7992936defabca1fc1709 # Parent ecf30a8391d57b143a8fd8d464ba1d4190e0140b (SETUP_SYNTAX_TABLE_FOR_OBJECT): Treat nil like a buffer. diff -r ecf30a8391d5 -r 9b5b989d1857 src/syntax.h --- a/src/syntax.h Sat Jul 05 00:56:01 1997 +0000 +++ b/src/syntax.h Sat Jul 05 02:41:45 1997 +0000 @@ -235,7 +235,7 @@ 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; \