aboutsummaryrefslogtreecommitdiffstats
path: root/src/category.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/category.c')
-rw-r--r--src/category.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/category.c b/src/category.c
index bba030360c4..356801a179c 100644
--- a/src/category.c
+++ b/src/category.c
@@ -48,11 +48,16 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
48 For the moment, we are not using this feature. */ 48 For the moment, we are not using this feature. */
49static int category_table_version; 49static int category_table_version;
50 50
51Lisp_Object Qcategory_table, Qcategoryp, Qcategorysetp, Qcategory_table_p; 51static Lisp_Object Qcategory_table, Qcategoryp, Qcategorysetp, Qcategory_table_p;
52 52
53/* Temporary internal variable used in macro CHAR_HAS_CATEGORY. */ 53/* Temporary internal variable used in macro CHAR_HAS_CATEGORY. */
54Lisp_Object _temp_category_set; 54Lisp_Object _temp_category_set;
55 55
56/* Make CATEGORY_SET includes (if VAL is t) or excludes (if VAL is
57 nil) CATEGORY. */
58#define SET_CATEGORY_SET(category_set, category, val) \
59 set_category_set (category_set, category, val)
60static void set_category_set (Lisp_Object, Lisp_Object, Lisp_Object);
56 61
57/* Category set staff. */ 62/* Category set staff. */
58 63
@@ -111,7 +116,7 @@ those categories. */)
111 116
112/* Category staff. */ 117/* Category staff. */
113 118
114Lisp_Object check_category_table (Lisp_Object table); 119static Lisp_Object check_category_table (Lisp_Object table);
115 120
116DEFUN ("define-category", Fdefine_category, Sdefine_category, 2, 3, 0, 121DEFUN ("define-category", Fdefine_category, Sdefine_category, 2, 3, 0,
117 doc: /* Define CATEGORY as a category which is described by DOCSTRING. 122 doc: /* Define CATEGORY as a category which is described by DOCSTRING.
@@ -185,7 +190,7 @@ DEFUN ("category-table-p", Fcategory_table_p, Scategory_table_p, 1, 1, 0,
185 valid, return TABLE itself, but if not valid, signal an error of 190 valid, return TABLE itself, but if not valid, signal an error of
186 wrong-type-argument. */ 191 wrong-type-argument. */
187 192
188Lisp_Object 193static Lisp_Object
189check_category_table (Lisp_Object table) 194check_category_table (Lisp_Object table)
190{ 195{
191 if (NILP (table)) 196 if (NILP (table))
@@ -325,7 +330,7 @@ The return value is a string containing those same categories. */)
325 return build_string (str); 330 return build_string (str);
326} 331}
327 332
328void 333static void
329set_category_set (Lisp_Object category_set, Lisp_Object category, Lisp_Object val) 334set_category_set (Lisp_Object category_set, Lisp_Object category, Lisp_Object val)
330{ 335{
331 do { 336 do {