diff options
| author | Dave Love | 2002-07-03 22:03:46 +0000 |
|---|---|---|
| committer | Dave Love | 2002-07-03 22:03:46 +0000 |
| commit | f6e5cae04e9e086cbc5d61a0e3c7b5340e1da822 (patch) | |
| tree | a7b214a60aa1ca429da8bd3b561d8d886dc772d9 /src | |
| parent | 910bb84b4e47f0936eeaacc957c241b2c476d5ae (diff) | |
| download | emacs-f6e5cae04e9e086cbc5d61a0e3c7b5340e1da822.tar.gz emacs-f6e5cae04e9e086cbc5d61a0e3c7b5340e1da822.zip | |
(make_sub_char_table): Remove unused var.
(Fset_char_table_default, Fmap_char_table): Doc fix.
Diffstat (limited to 'src')
| -rw-r--r-- | src/chartab.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/chartab.c b/src/chartab.c index e974824aa31..97292a3550c 100644 --- a/src/chartab.c +++ b/src/chartab.c | |||
| @@ -99,7 +99,6 @@ make_sub_char_table (depth, min_char, defalt) | |||
| 99 | { | 99 | { |
| 100 | Lisp_Object table; | 100 | Lisp_Object table; |
| 101 | int size = VECSIZE (struct Lisp_Sub_Char_Table) - 1 + chartab_size[depth]; | 101 | int size = VECSIZE (struct Lisp_Sub_Char_Table) - 1 + chartab_size[depth]; |
| 102 | int i; | ||
| 103 | 102 | ||
| 104 | table = Fmake_vector (make_number (size), defalt); | 103 | table = Fmake_vector (make_number (size), defalt); |
| 105 | XSUB_CHAR_TABLE (table)->depth = make_number (depth); | 104 | XSUB_CHAR_TABLE (table)->depth = make_number (depth); |
| @@ -632,9 +631,7 @@ a cons of character codes (for characters in the range), or a character code. * | |||
| 632 | DEFUN ("set-char-table-default", Fset_char_table_default, | 631 | DEFUN ("set-char-table-default", Fset_char_table_default, |
| 633 | Sset_char_table_default, 3, 3, 0, | 632 | Sset_char_table_default, 3, 3, 0, |
| 634 | doc: /* | 633 | doc: /* |
| 635 | Set the default value in CHAR-TABLE for a generic character CHAR to VALUE. | 634 | This function is obsolete and has no effect. */) |
| 636 | The generic character specifies the group of characters. | ||
| 637 | See also the documentation of make-char. */) | ||
| 638 | (char_table, ch, value) | 635 | (char_table, ch, value) |
| 639 | Lisp_Object char_table, ch, value; | 636 | Lisp_Object char_table, ch, value; |
| 640 | { | 637 | { |
| @@ -652,7 +649,7 @@ char_table_translate (table, ch) | |||
| 652 | { | 649 | { |
| 653 | Lisp_Object value; | 650 | Lisp_Object value; |
| 654 | value = Faref (table, make_number (ch)); | 651 | value = Faref (table, make_number (ch)); |
| 655 | if (! INTEGERP (value)) | 652 | if (! INTEGERP (value)) /* fixme: use CHARACTERP? */ |
| 656 | return ch; | 653 | return ch; |
| 657 | return XINT (value); | 654 | return XINT (value); |
| 658 | } | 655 | } |
| @@ -798,7 +795,7 @@ map_char_table (c_function, function, table, arg, depth, indices) | |||
| 798 | DEFUN ("map-char-table", Fmap_char_table, Smap_char_table, | 795 | DEFUN ("map-char-table", Fmap_char_table, Smap_char_table, |
| 799 | 2, 2, 0, | 796 | 2, 2, 0, |
| 800 | doc: /* | 797 | doc: /* |
| 801 | Call FUNCTION for each (normal and generic) characters in CHAR-TABLE. | 798 | Call FUNCTION for each character in CHAR-TABLE. |
| 802 | FUNCTION is called with two arguments--a key and a value. | 799 | FUNCTION is called with two arguments--a key and a value. |
| 803 | The key is always a possible IDX argument to `aref'. */) | 800 | The key is always a possible IDX argument to `aref'. */) |
| 804 | (function, char_table) | 801 | (function, char_table) |