Mercurial > emacs
changeset 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 | ecf30a8391d5 |
children | d3d968d0773a |
files | src/syntax.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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; \