X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/52beda922d2cb523a03661bf74b8678c8b45e440..d267aea2424783f5eefb6e733a6806ffd3323fa0:/src/chartab.c diff --git a/src/chartab.c b/src/chartab.c index 274bb60727..fa5a8e4116 100644 --- a/src/chartab.c +++ b/src/chartab.c @@ -7,8 +7,8 @@ This file is part of GNU Emacs. GNU Emacs is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. +the Free Software Foundation, either version 3 of the License, or (at +your option) any later version. GNU Emacs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -23,7 +23,6 @@ along with GNU Emacs. If not, see . */ #include "lisp.h" #include "character.h" #include "charset.h" -#include "ccl.h" /* 64/16/32/128 */ @@ -493,7 +492,7 @@ char_table_set_range (Lisp_Object table, int from, int to, Lisp_Object val) int lim = CHARTAB_IDX (to, 0, 0); int i, c; - for (i = CHARTAB_IDX (from, 0, 0), c = 0; i <= lim; + for (i = CHARTAB_IDX (from, 0, 0), c = i * chartab_chars[0]; i <= lim; i++, c += chartab_chars[0]) { if (c > to) @@ -534,7 +533,7 @@ DEFUN ("char-table-parent", Fchar_table_parent, Schar_table_parent, The value is either nil or another char-table. If CHAR-TABLE holds nil for a given character, then the actual applicable value is inherited from the parent char-table -(or from its parents, if necessary). */) +\(or from its parents, if necessary). */) (Lisp_Object char_table) { CHECK_CHAR_TABLE (char_table);