From 0d3573ee676c2bacc3921ff616cc0709466a8e5b Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 5 Jul 1997 02:41:45 +0000 Subject: [PATCH] (SETUP_SYNTAX_TABLE_FOR_OBJECT): Treat nil like a buffer. --- src/syntax.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; \ -- 2.39.2