diff options
| author | Paul Eggert | 2012-08-17 09:48:22 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-08-17 09:48:22 -0700 |
| commit | 742af32f280f9e0051691a34874d6a7de693239c (patch) | |
| tree | 6fe111e6e6d8b14af62caecc3a8ef5a18f01a8aa /src/syntax.c | |
| parent | a04e2c62ec8ce903310b7c7635c43f42ccab5e2f (diff) | |
| download | emacs-742af32f280f9e0051691a34874d6a7de693239c.tar.gz emacs-742af32f280f9e0051691a34874d6a7de693239c.zip | |
* lisp.h (CSET): Remove.
(set_char_table_ascii, set_char_table_defalt, set_char_table_parent)
(set_char_table_purpose): New functions,
replacing CSET. All uses changed. For example, replace
"CSET (XCHAR_TABLE (char_table), parent, parent);" with
"char_table_set_parent (char_table, parent);".
The old version was confusing because it used the same name
'parent' for two different things.
Fixes: debbugs:12215
Diffstat (limited to 'src/syntax.c')
| -rw-r--r-- | src/syntax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax.c b/src/syntax.c index 69965d1d824..b8b1bb2ed9c 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -818,7 +818,7 @@ It is a copy of the TABLE, which defaults to the standard syntax table. */) | |||
| 818 | 818 | ||
| 819 | /* Only the standard syntax table should have a default element. | 819 | /* Only the standard syntax table should have a default element. |
| 820 | Other syntax tables should inherit from parents instead. */ | 820 | Other syntax tables should inherit from parents instead. */ |
| 821 | CSET (XCHAR_TABLE (copy), defalt, Qnil); | 821 | set_char_table_defalt (copy, Qnil); |
| 822 | 822 | ||
| 823 | /* Copied syntax tables should all have parents. | 823 | /* Copied syntax tables should all have parents. |
| 824 | If we copied one with no parent, such as the standard syntax table, | 824 | If we copied one with no parent, such as the standard syntax table, |