Kenichi Handa
05756f213f
(sub_char_table_ref_and_range): Fix the range check against max_char.
2009-07-13 04:02:26 +00:00
Glenn Morris
76b6f70759
Add 2009 to copyright years.
2009-01-08 03:15:17 +00:00
Kenichi Handa
7ef1f5d11c
(sub_char_table_ref_and_range): Adjusted for the
...
change of char_table_ref_and_range.
(char_table_ref_and_range): Change the meaning of argument FROM
and TO. Now the caller must provide initial values for *FROM
and *TO.
2008-11-27 08:01:29 +00:00
Juanma Barranquero
60612c8fd3
Fix typos.
2008-11-11 08:41:18 +00:00
Kenichi Handa
a68053337d
(map_char_table_for_charset): Add comment.
2008-11-11 07:25:27 +00:00
Stefan Monnier
4d632321c1
(Foptimize_char_table): Make sure `ascii' doesn't point to
...
the previous unoptimized table.
2008-10-26 04:23:08 +00:00
Kenichi Handa
c3b57f2354
(optimize_sub_char_table): Perform more greedy optimization.
2008-08-29 07:53:11 +00:00
Stefan Monnier
d0827857e7
* 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.
2008-05-30 21:07:50 +00:00
Glenn Morris
9ec0b715e2
Switch to recommended form of GPLv3 permissions notice.
2008-05-14 07:50:26 +00:00
Stefan Monnier
c6bff69edc
(Fset_char_table_range): If range is t, really set all chars to that value.
2008-05-03 14:31:55 +00:00
Stefan Monnier
c62c8ddbb5
(make_sub_char_table): Remove noop-yet-incorrect statement.
2008-02-06 03:03:52 +00:00
Glenn Morris
a9871c726e
Update copyright years and FSF address.
2008-02-02 04:32:33 +00:00
Miles Bader
985773c903
Fix up multi-tty merge
...
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-261
Creator: Stefan Monnier <monnier@iro.umontreal.ca>
2007-10-12 21:06:27 +00:00
Kenichi Handa
0a4bacdc2b
(map_sub_char_table): If the range contains just one
...
character, call the function with that character even if the depth
is not 3.
(map_char_table): Likewise.
2007-09-20 07:49:52 +00:00
Kenichi Handa
57d53d1bdd
(map_sub_char_table): Make it work for the top-level
...
char-table. Fix handling of parent char-table.
(map_char_table): Adjusted for the above change.
2007-06-25 10:25:21 +00:00
Andreas Schwab
239191f25b
(map_char_table): GCPRO table and arg.
2004-11-24 00:44:49 +00:00
Miles Bader
fbaf0946b2
Add arch taglines
2004-04-19 07:09:26 +00:00
Kenichi Handa
6b61353c0a
Sync to HEAD
2004-04-16 12:51:06 +00:00
Kenichi Handa
bc85ac782e
(map_sub_char_table_for_charset): Fix args to c_function with.
2003-12-29 07:52:13 +00:00
Kenichi Handa
05d6275c2e
(char_table_translate): Use CHARACTERP, not INETEGERP.
2003-10-06 11:20:45 +00:00
Andreas Schwab
26132fb535
(map_char_table): Protect `range' from GC.
...
(map_char_table_for_charset): Likewise.
2003-09-10 10:53:23 +00:00
Kenichi Handa
8f924df7df
*** empty log message ***
2003-09-08 12:53:41 +00:00
Kenichi Handa
ed7219f84b
*** empty log message ***
2003-05-06 23:43:33 +00:00
Kenichi Handa
2f76e15eda
(map_sub_char_table): New argument DEFAULT_VAL.
...
(map_char_table): Don't inherit the value from the parent on
initializing VAL. Adjusted for the above change.
2003-05-06 23:24:36 +00:00
Kenichi Handa
40033db7ce
(char_table_ascii): Check if the char table contents
...
is sub-char-table or not.
(char_table_set): Fix argument to char_table_ascii.
(char_table_set_range): Likewise.
2003-01-06 13:26:04 +00:00
Kenichi Handa
ed09a18b84
*** empty log message ***
2002-08-15 02:30:08 +00:00
Kenichi Handa
eaa3b0e07a
(Fmake_char_table): Doc fixed. If PURPOSE doesn't
...
have property char-table-extra-slots, make no extra slot.
2002-07-26 04:05:29 +00:00
Dave Love
b4a12c674b
Include "...h", not <...h> in some cases.
2002-07-16 15:14:22 +00:00
Dave Love
f6e5cae04e
(make_sub_char_table): Remove unused var.
...
(Fset_char_table_default, Fmap_char_table): Doc fix.
2002-07-03 22:03:46 +00:00
Kenichi Handa
e15009d967
(sub_char_table_ref_and_range): New arg defalt. Fix
...
the previous change.
(char_table_ref_and_range): Adjusted for the above change.
(map_sub_char_table_for_charset): New function.
(map_char_table_for_charset): New function.
2002-06-12 00:14:15 +00:00
Kenichi Handa
22d49f94bd
(sub_char_table_set_range): Optimized for the case
...
DEPTH == 3. Add workaround code for a GCC optimization bug.
2002-03-05 00:08:31 +00:00
Kenichi Handa
1ee5d538f3
New file that implements char table.
2002-03-01 01:12:57 +00:00