diff options
| author | Luc Teirlinck | 2004-02-20 03:40:19 +0000 |
|---|---|---|
| committer | Luc Teirlinck | 2004-02-20 03:40:19 +0000 |
| commit | 1d5c2b92a6a48f97274056b3a2d7ac95f7e186cd (patch) | |
| tree | 313da9e80fff82ecab804ffd1c24a76c0ba0602c | |
| parent | 6d2986fb74fc92ed6e644301d46d32500564a7ff (diff) | |
| download | emacs-1d5c2b92a6a48f97274056b3a2d7ac95f7e186cd.tar.gz emacs-1d5c2b92a6a48f97274056b3a2d7ac95f7e186cd.zip | |
(Fdefine_category, Fcategory_docstring)
(Fget_unused_category, Fset_category_table)
(Fcategory_set_mnemonics): Doc fixes.
| -rw-r--r-- | src/category.c | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/src/category.c b/src/category.c index 223ec20cd73..b7eadd0e771 100644 --- a/src/category.c +++ b/src/category.c | |||
| @@ -87,11 +87,11 @@ those categories. */) | |||
| 87 | Lisp_Object check_category_table (); | 87 | Lisp_Object check_category_table (); |
| 88 | 88 | ||
| 89 | DEFUN ("define-category", Fdefine_category, Sdefine_category, 2, 3, 0, | 89 | DEFUN ("define-category", Fdefine_category, Sdefine_category, 2, 3, 0, |
| 90 | doc: /* Define CHAR as a category which is described by DOCSTRING. | 90 | doc: /* Define CATEGORY as a category which is described by DOCSTRING. |
| 91 | CHAR should be an ASCII printing character in the range ` ' to `~'. | 91 | CATEGORY should be an ASCII printing character in the range ` ' to `~'. |
| 92 | DOCSTRING is a documentation string of the category. | 92 | DOCSTRING is the documentation string of the category. |
| 93 | The category is defined only in category table TABLE, which defaults to | 93 | The category is defined only in category table TABLE, which defaults to |
| 94 | the current buffer's category table. */) | 94 | the current buffer's category table. */) |
| 95 | (category, docstring, table) | 95 | (category, docstring, table) |
| 96 | Lisp_Object category, docstring, table; | 96 | Lisp_Object category, docstring, table; |
| 97 | { | 97 | { |
| @@ -107,7 +107,9 @@ The category is defined only in category table TABLE, which defaults to | |||
| 107 | } | 107 | } |
| 108 | 108 | ||
| 109 | DEFUN ("category-docstring", Fcategory_docstring, Scategory_docstring, 1, 2, 0, | 109 | DEFUN ("category-docstring", Fcategory_docstring, Scategory_docstring, 1, 2, 0, |
| 110 | doc: /* Return the documentation string of CATEGORY, as defined in CATEGORY-TABLE. */) | 110 | doc: /* Return the documentation string of CATEGORY, as defined in TABLE. |
| 111 | TABLE should be a category table and defaults to the current buffer's | ||
| 112 | category table. */) | ||
| 111 | (category, table) | 113 | (category, table) |
| 112 | Lisp_Object category, table; | 114 | Lisp_Object category, table; |
| 113 | { | 115 | { |
| @@ -119,10 +121,9 @@ DEFUN ("category-docstring", Fcategory_docstring, Scategory_docstring, 1, 2, 0, | |||
| 119 | 121 | ||
| 120 | DEFUN ("get-unused-category", Fget_unused_category, Sget_unused_category, | 122 | DEFUN ("get-unused-category", Fget_unused_category, Sget_unused_category, |
| 121 | 0, 1, 0, | 123 | 0, 1, 0, |
| 122 | doc: /* Return a category which is not yet defined in CATEGORY-TABLE. | 124 | doc: /* Return a category which is not yet defined in TABLE. |
| 123 | If no category remains available, return nil. | 125 | If no category remains available, return nil. |
| 124 | The optional argument CATEGORY-TABLE | 126 | The optional argument TABLE specifies which category table to modify; |
| 125 | specifies which category table to modify; | ||
| 126 | it defaults to the current buffer's category table. */) | 127 | it defaults to the current buffer's category table. */) |
| 127 | (table) | 128 | (table) |
| 128 | Lisp_Object table; | 129 | Lisp_Object table; |
| @@ -267,7 +268,8 @@ DEFUN ("make-category-table", Fmake_category_table, Smake_category_table, | |||
| 267 | } | 268 | } |
| 268 | 269 | ||
| 269 | DEFUN ("set-category-table", Fset_category_table, Sset_category_table, 1, 1, 0, | 270 | DEFUN ("set-category-table", Fset_category_table, Sset_category_table, 1, 1, 0, |
| 270 | doc: /* Specify TABLE as the category table for the current buffer. */) | 271 | doc: /* Specify TABLE as the category table for the current buffer. |
| 272 | Return TABLE. */) | ||
| 271 | (table) | 273 | (table) |
| 272 | Lisp_Object table; | 274 | Lisp_Object table; |
| 273 | { | 275 | { |
| @@ -294,7 +296,7 @@ DEFUN ("category-set-mnemonics", Fcategory_set_mnemonics, | |||
| 294 | Scategory_set_mnemonics, 1, 1, 0, | 296 | Scategory_set_mnemonics, 1, 1, 0, |
| 295 | doc: /* Return a string containing mnemonics of the categories in CATEGORY-SET. | 297 | doc: /* Return a string containing mnemonics of the categories in CATEGORY-SET. |
| 296 | CATEGORY-SET is a bool-vector, and the categories \"in\" it are those | 298 | CATEGORY-SET is a bool-vector, and the categories \"in\" it are those |
| 297 | that are indexes where t occurs the bool-vector. | 299 | that are indexes where t occurs in the bool-vector. |
| 298 | The return value is a string containing those same categories. */) | 300 | The return value is a string containing those same categories. */) |
| 299 | (category_set) | 301 | (category_set) |
| 300 | Lisp_Object category_set; | 302 | Lisp_Object category_set; |