aboutsummaryrefslogtreecommitdiffstats
path: root/src/syntax.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/syntax.c b/src/syntax.c
index 01b4cfb8892..47b4caf5ade 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -1747,6 +1747,12 @@ skip_chars (forwardp, string, lim, handle_iso_classes)
1747 } 1747 }
1748 1748
1749 immediate_quit = 1; 1749 immediate_quit = 1;
1750 /* This code may look up syntax tables using macros that rely on the
1751 gl_state object. To make sure this object is not out of date,
1752 let's initialize it manually.
1753 We ignore syntax-table text-properties for now, since that's
1754 what we've done in the past. */
1755 SETUP_SYNTAX_TABLE (BEGV, 0);
1750 if (forwardp) 1756 if (forwardp)
1751 { 1757 {
1752 if (multibyte) 1758 if (multibyte)
@@ -2072,7 +2078,7 @@ in_classes (c, iso_classes)
2072{ 2078{
2073 int fits_class = 0; 2079 int fits_class = 0;
2074 2080
2075 while (! NILP (iso_classes)) 2081 while (CONSP (iso_classes))
2076 { 2082 {
2077 Lisp_Object elt; 2083 Lisp_Object elt;
2078 elt = XCAR (iso_classes); 2084 elt = XCAR (iso_classes);