diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2012-08-16 07:13:44 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2012-08-16 07:13:44 +0400 |
commit | a098c9308eb2abee17d1f800d5895c12f471097e (patch) | |
tree | cd5a85bcfd0d1554fcc0fa5f359fe63074caec58 /src/syntax.c | |
parent | 8be3a09c4f4ed0eae2902b81e80856e917a81b2d (diff) | |
download | emacs-a098c9308eb2abee17d1f800d5895c12f471097e.tar.gz |
Simple interface to set Lisp_Object fields of chararcter tables.
* lisp.h (CSET): New macro.
(char_table_set_extras, char_table_set_contents)
(sub_char_table_set_contents): New function.
* casetab.c, category.c, chartab.c, fns.c, fontset.c, search.c:
* syntax.c: Adjust users.
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 08a63e033b2..1cbad1ae0a4 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -819,7 +819,7 @@ It is a copy of the TABLE, which defaults to the standard syntax table. */) /* Only the standard syntax table should have a default element. Other syntax tables should inherit from parents instead. */ - XCHAR_TABLE (copy)->defalt = Qnil; + CSET (XCHAR_TABLE (copy), defalt, Qnil); /* Copied syntax tables should all have parents. If we copied one with no parent, such as the standard syntax table, |