From: Richard M. Stallman Date: Sat, 5 Jul 1997 02:41:45 +0000 (+0000) Subject: (SETUP_SYNTAX_TABLE_FOR_OBJECT): Treat nil like a buffer. X-Git-Tag: emacs-20.1~1321 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0d3573ee676c2bacc3921ff616cc0709466a8e5b;p=emacs.git (SETUP_SYNTAX_TABLE_FOR_OBJECT): Treat nil like a buffer. --- 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; \