diff options
| author | Karoly Lorentey | 2004-02-20 15:42:55 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-02-20 15:42:55 +0000 |
| commit | a225e738abdeb149e9b4bc87d5f9d9a201160aa2 (patch) | |
| tree | cf6652c0926bcf51ba512260bf29db86f354d3f5 /src | |
| parent | 3b7fbceb8359279028f466091b22ab11c5484bc3 (diff) | |
| parent | 8bc5e4c131dba618a458f481a5fcbff60f252228 (diff) | |
| download | emacs-a225e738abdeb149e9b4bc87d5f9d9a201160aa2.tar.gz emacs-a225e738abdeb149e9b4bc87d5f9d9a201160aa2.zip | |
Merged in changes from CVS HEAD
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-107
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-88
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 8 | ||||
| -rw-r--r-- | src/category.c | 22 |
2 files changed, 19 insertions, 11 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 58661af0867..a25239d88a3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2004-02-19 Luc Teirlinck <teirllm@auburn.edu> | ||
| 2 | |||
| 3 | * category.c (Fdefine_category, Fcategory_docstring) | ||
| 4 | (Fget_unused_category, Fset_category_table) | ||
| 5 | (Fcategory_set_mnemonics): Doc fixes. | ||
| 6 | |||
| 1 | 2004-02-20 Kim F. Storm <storm@cua.dk> | 7 | 2004-02-20 Kim F. Storm <storm@cua.dk> |
| 2 | 8 | ||
| 3 | * keyboard.c: Undo 2004-02-16 and 2004-02-17 changes. | 9 | * keyboard.c: Undo 2004-02-16 and 2004-02-17 changes. |
| @@ -7,7 +13,7 @@ | |||
| 7 | (read_avail_input): Separate and rework handling of read_socket_hook | 13 | (read_avail_input): Separate and rework handling of read_socket_hook |
| 8 | and non-read_socket_hook cases. Use smaller input_event buffer | 14 | and non-read_socket_hook cases. Use smaller input_event buffer |
| 9 | in read_socket_hook case, and repeat if full buffer is read. Use | 15 | in read_socket_hook case, and repeat if full buffer is read. Use |
| 10 | new local variable 'discard' to skip input after C-g. | 16 | new local variable 'discard' to skip input after C-g. |
| 11 | In non-read_socket_hook case, just use a single input_event, and | 17 | In non-read_socket_hook case, just use a single input_event, and |
| 12 | call kbd_buffer_store_event on the fly for each character. | 18 | call kbd_buffer_store_event on the fly for each character. |
| 13 | 19 | ||
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; |