diff options
| author | Miles Bader | 2006-06-20 07:35:06 +0000 |
|---|---|---|
| committer | Miles Bader | 2006-06-20 07:35:06 +0000 |
| commit | 7ffefb0856637762050ca248013d2b2f1cf7554e (patch) | |
| tree | aadd0178b0d1f637ea0a8fffce9c7a3fa1cf4dc0 /src/syntax.c | |
| parent | 47067d3ec0ec1eea6ba561306349576a890cc274 (diff) | |
| parent | 1e0fd4cd530948277283d0fe7b07e00a73fee934 (diff) | |
| download | emacs-7ffefb0856637762050ca248013d2b2f1cf7554e.tar.gz emacs-7ffefb0856637762050ca248013d2b2f1cf7554e.zip | |
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 314-319)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 107)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-78
Diffstat (limited to 'src/syntax.c')
| -rw-r--r-- | src/syntax.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/syntax.c b/src/syntax.c index 3f6058e3b1a..4f5481ca111 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -3346,6 +3346,20 @@ init_syntax_once () | |||
| 3346 | 3346 | ||
| 3347 | Vstandard_syntax_table = Fmake_char_table (Qsyntax_table, temp); | 3347 | Vstandard_syntax_table = Fmake_char_table (Qsyntax_table, temp); |
| 3348 | 3348 | ||
| 3349 | /* Control characters should not be whitespace. */ | ||
| 3350 | temp = XVECTOR (Vsyntax_code_object)->contents[(int) Spunct]; | ||
| 3351 | for (i = 0; i <= ' ' - 1; i++) | ||
| 3352 | SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, i, temp); | ||
| 3353 | SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, 0177, temp); | ||
| 3354 | |||
| 3355 | /* Except that a few really are whitespace. */ | ||
| 3356 | temp = XVECTOR (Vsyntax_code_object)->contents[(int) Swhitespace]; | ||
| 3357 | SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, ' ', temp); | ||
| 3358 | SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, '\t', temp); | ||
| 3359 | SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, '\n', temp); | ||
| 3360 | SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, 015, temp); | ||
| 3361 | SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, 014, temp); | ||
| 3362 | |||
| 3349 | temp = XVECTOR (Vsyntax_code_object)->contents[(int) Sword]; | 3363 | temp = XVECTOR (Vsyntax_code_object)->contents[(int) Sword]; |
| 3350 | for (i = 'a'; i <= 'z'; i++) | 3364 | for (i = 'a'; i <= 'z'; i++) |
| 3351 | SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, i, temp); | 3365 | SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, i, temp); |