changeset 88622:6bd578d2b8af

(Fmodify_category_entry): Doc fix. Remove unused vars.
author Dave Love <fx@gnu.org>
date Thu, 23 May 2002 18:44:45 +0000
parents ff1346fa0a59
children 0d7705c8ee3c
files src/category.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/category.c	Thu May 23 18:23:57 2002 +0000
+++ b/src/category.c	Thu May 23 18:44:45 2002 +0000
@@ -326,15 +326,16 @@
        Smodify_category_entry, 2, 4, 0,
        doc: /* Modify the category set of CHARACTER by adding CATEGORY to it.
 The category is changed only for table TABLE, which defaults to
- the current buffer's category table.
+the current buffer's category table.
+CHARACTER can be either a single character or a cons representing the
+lower and upper ends of an inclusive character range to modify.
 If optional fourth argument RESET is non-nil,
 then delete CATEGORY from the category set instead of adding it.  */)
      (character, category, table, reset)
      Lisp_Object character, category, table, reset;
 {
-  int c, charset, c1, c2;
   Lisp_Object set_value;	/* Actual value to be set in category sets.  */
-  Lisp_Object val, category_set;
+  Lisp_Object category_set;
   int start, end;
   int from, to;