summaryrefslogtreecommitdiff
path: root/src/charset.c
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2008-05-30 21:07:50 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2008-05-30 21:07:50 +0000
commitd0827857e7a2e73907783ccb6e30849c2a056374 (patch)
treed191220cab996a4154122e5ffe9d932e134aa0ca /src/charset.c
parent01b996adc3fe81b4e6fa38ce531e05a6506fc6bf (diff)
downloademacs-d0827857e7a2e73907783ccb6e30849c2a056374.tar.gz
* chartab.c (Foptimize_char_table, optimize_sub_char_table):
Add a `test' argument so another predicate than `equal' can be used. (map_sub_char_table): Use `eq' rather than `equal' to merge ranges. (map_char_table): Remove unused vars `c' and `i'. * lisp.h (Foptimize_char_table): Adjust declaration. * charset.c (Fclear_charset_maps): Adjust call to Foptimize_char_table.
Diffstat (limited to 'src/charset.c')
-rw-r--r--src/charset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charset.c b/src/charset.c
index e5e8c56541e..052c511f6a3 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -1952,7 +1952,7 @@ Clear encoder and decoder of charsets that are loaded from mapfiles. */)
if (CHAR_TABLE_P (Vchar_unified_charset_table))
{
- Foptimize_char_table (Vchar_unified_charset_table);
+ Foptimize_char_table (Vchar_unified_charset_table, Qnil);
Vchar_unify_table = Vchar_unified_charset_table;
Vchar_unified_charset_table = Qnil;
}