Mercurial > emacs
diff src/syntax.h @ 18625:9b5b989d1857
(SETUP_SYNTAX_TABLE_FOR_OBJECT): Treat nil like a buffer.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 05 Jul 1997 02:41:45 +0000 |
parents | 614b916ff5bf |
children | d26f9720e55f |
line wrap: on
line diff
--- 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; \