]> git.eshelyaron.com Git - emacs.git/commitdiff
(SETUP_SYNTAX_TABLE_FOR_OBJECT): Treat nil like a buffer.
authorRichard M. Stallman <rms@gnu.org>
Sat, 5 Jul 1997 02:41:45 +0000 (02:41 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 5 Jul 1997 02:41:45 +0000 (02:41 +0000)
src/syntax.h

index bcd90562d299f36892db2d1a63b2b923a2909595..c8c29cba7cc0894d4e58fb6d8c0cf7a7843c89af 100644 (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;                                                \