diff options
| author | Kenichi Handa | 2010-03-08 10:53:37 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2010-03-08 10:53:37 +0900 |
| commit | 59513a2f81060efb01a8a6d684901718c3b4d236 (patch) | |
| tree | 5433967c8574959bf737f94ea33ed5edf5c8a177 /src/syntax.c | |
| parent | b799f2211562060966feabf1975a11b3985264a9 (diff) | |
| parent | b327c9751037d3d8abc7485c6a78ec96f4da1c1e (diff) | |
| download | emacs-59513a2f81060efb01a8a6d684901718c3b4d236.tar.gz emacs-59513a2f81060efb01a8a6d684901718c3b4d236.zip | |
from trunk
Diffstat (limited to 'src/syntax.c')
| -rw-r--r-- | src/syntax.c | 8 |
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); |