1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-16 08:10:43 -08:00
Commit graph

25 commits

Author SHA1 Message Date
Andreas Schwab
dfcf069d56 Fix -Wimplicit warnings. 1998-04-14 12:25:56 +00:00
Richard M. Stallman
2e34157cd9 Fix bugs with inappropriate mixing of Lisp_Object with int. 1997-07-04 20:44:52 +00:00
Kenichi Handa
da2795b21f (case_temp1, case_temp2): New variables temporarily
used in macros DOWNCASE and UPCASE1.
(set_case_table): Setup canonical table correctly.  Use
map_char_table instead of compute_trt_inverse.
(set_canon, set_identity, shuffle): New functions given to
map_char_table.
(compute_trt_identity, compute_trt_shuffle, compute_trt_inverse):
Deleted.
1997-05-28 04:36:34 +00:00
Karl Heuer
e16696bacc (compute_trt_identity, compute_trt_shuffle): Add comments. 1997-05-15 07:35:32 +00:00
Richard M. Stallman
4edca269cc (compute_trt_identity): Use make_sub_char_table.
(compute_trt_identity, compute_trt_shuffle):
Set up bytes[0] with the charset code.
Check for a sub-char-table when deciding to recurse.
Terminate the loop properly for a sub-char-table.
1997-05-15 03:22:38 +00:00
Karl Heuer
c0c15b9339 Include charset.h.
(compute_trt_inverse): Totally rewritten.
Args are now Lisp_Object.  Callers changed.
(compute_trt_identity, compute_trt_shuffle): New subroutines.
(init_casetab_once): Use XSETFASTINT to store into case table;
use CHAR_TABLE_SINGLE_BYTE_SLOTS to end the loop.
1997-05-15 02:23:20 +00:00
Richard M. Stallman
e1b490ca36 (init_casetab_once): Initialize the purpose slot. 1997-04-08 19:05:57 +00:00
Erik Naggum
8f84b1a1be (syms_of_casetab): staticpro Vascii_canontable, Vascii_eqv_table, and
Vascii_upcase_table.
1996-09-17 16:18:00 +00:00
Richard M. Stallman
6c6fcbf89b (set_case_table): Set upcase_table, case_canon_table
and case_eqv_table in the buffer.
1996-05-06 04:28:32 +00:00
Erik Naggum
3b7ad313e0 Update FSF's address in the preamble. 1996-01-15 09:18:04 +00:00
Erik Naggum
2858a1c15c (Fcase_table_p): Harmonize arguments with documentation. 1996-01-09 00:30:49 +00:00
Richard M. Stallman
c7608f4549 (Fset_case_table): Doc fix. 1995-10-29 19:16:24 +00:00
Erik Naggum
4b3bd052d5 (Fcase_table_p, Fcurrent_case_table): Delete unused local variables.
(set_case_table): Delete obsolete local variable `down'; use `table'
directly where referenced.  Fix assignment to `canon' when nil.
Store eqv in extras[2], not extras[0].
(init_casetab_once): Case-tables have 3 extra slots, not 4.
1995-10-23 04:35:45 +00:00
Richard M. Stallman
7f7fef044c Case tables are now char-tables,
and the case table is stored in the downcase_table slot only.
(Fcurrent_case_table, Fstandard_case_table, set_case_table)
(compute_trt_inverse, init_casetab_once): Use new data format.
1995-10-19 00:14:14 +00:00
Karl Heuer
7c938215cd Update GPL to version 2. 1995-06-15 20:42:24 +00:00
Karl Heuer
1d80f4daee (STRING256_P): Use type test macros. 1994-09-27 03:09:02 +00:00
Karl Heuer
3a22ee3595 Update copyright. 1994-05-04 02:41:09 +00:00
Richard M. Stallman
5a0fd72f90 (set_case_table): Handle nil for EQV with non-nil CANON.
(Fcase_table_p): Accept nil for EQV with non-nil CANON.
1994-04-17 23:02:52 +00:00
Roland McGrath
18160b98ce Include <config.h> instead of "config.h". 1993-09-10 06:15:46 +00:00
Jim Blandy
a1de6b4b57 * casetab.c: Fix formatting, so as not to confuse etags. 1993-05-25 13:03:47 +00:00
Jim Blandy
c6c5df7f76 Updated copyright years. 1993-05-22 21:34:42 +00:00
Jim Blandy
b37902c85c * callint.c (Fcall_interactively): Pass the correct number of
arguments to wrong_type_argument.
	* casefiddle.c (caseify_object): Same.
	* casetab.c (check_case_table): Same.
	* search.c (Fstore_match_data): Same.
	* syntax.c (check_syntax_table): Same.
1993-02-22 14:48:45 +00:00
Jim Blandy
d9da9451b5 * casetab.c (set_case_table): Declare this to be static, and
return a Lisp_Object. Add static declaration for this
	before Fset_case_table and Fset_standard_case_table.
	(Fset_case_table, Fset_standard_case_table): Return the return
	value of set_case_table, instead of returning garbage.
1992-10-31 04:55:02 +00:00
Jim Blandy
d427b66a66 entered into RCS 1992-01-13 21:48:03 +00:00
Jim Blandy
dcfdbac7bb Initial revision 1990-11-12 20:20:45 +00:00