Richard M. Stallman
ed73fcc1fa
(internal_equal): Use compare_window_configurations.
1998-01-26 08:47:06 +00:00
Kenichi Handa
0ab6a3d896
(mapcar1): Keep i' in i_before' before `i' is
...
incremented by FETCH_STRING_CHAR_ADVANCE.
1998-01-22 01:26:45 +00:00
Richard M. Stallman
31c8f88101
Update copyright year.
1998-01-21 22:22:17 +00:00
Richard M. Stallman
06f57aa7fd
(concat): Use unibyte_char_to_multibyte.
...
Fix lossage in installing previous patch.
1998-01-21 21:43:30 +00:00
Karl Heuer
09ab3c3bdb
(concat): Move the test for all nil in `append'
...
back to the right place.
Always compute result_len_byte as for a multibyte string. Then,
if the result will be single-byte, don't use that computation.
When converting single-byte to multibyte, don't use copy_text.
Do use copy_text between single-byte string and multibyte string.
(Fstring_make_multibyte, Fstring_make_unibyte): New functions.
(syms_of_fns): defsubr them.
(string_char_to_byte): Count from the beginning or the end,
whichever is closer. Keep a cache of recent values.
(string_byte_to_char): Likewise.
(Fstring_lessp): Compare the strings char by char.
1998-01-18 04:37:08 +00:00
Kenichi Handa
470730a822
(concat): Check STRINGP before increasing result_len_byte.
1998-01-12 05:49:45 +00:00
Richard M. Stallman
ea35ce3d99
(map_char_table): Unconditionally consider non-ASCII charsets.
...
(Fsubstring): Use make_multibyte_string.
(concat, Fsubstring, internal_equal, mapcar1):
Distinguish bytes and chars when indexing strings.
(Fstring_equal, Fstring_lessp): Likewise.
(substring_both): New function.
(string_make_multibyte, string_make_unibyte): New functions.
(string_char_to_byte, string_byte_to_char): New functions.
1998-01-09 22:41:43 +00:00
Richard M. Stallman
6ced1284f3
(internal_equal): For markers, use bytepos instead of bufpos.
1998-01-02 21:28:56 +00:00
Andreas Schwab
22e6f12b3b
* fns.c (map_char_table): Protoize parameter.
1997-11-21 14:58:22 +00:00
Kenichi Handa
de86fcba73
(map_char_table): Do not operate on invalid characters.
...
Pay attention to `enable-multibyte-characters'.
1997-10-23 12:01:50 +00:00
Karl Heuer
b4f334f797
(Qwidget_type): New variable.
...
(widget-plist-member, widget-put, widget-get, widget-apply): Move
here from lisp/wid-edit.el; translated into C for efficiency.
(syms_of_fns): Initialize Qwidget_type; defsubr new functions.
1997-09-30 07:15:28 +00:00
Richard M. Stallman
0de441b6f6
(concat): Fix use of Fchar_bytes.
1997-08-27 17:21:54 +00:00
Kenichi Handa
b24014d4ab
(Fyes_or_no_p): Call Fread_from_minibuffer
...
with INHERIT-INPUT-METHOD nil.
1997-08-26 11:42:33 +00:00
Richard M. Stallman
0c57d6fdae
(Flength): Doc fix.
1997-08-16 16:21:38 +00:00
Kenichi Handa
dec58e65b1
(concat): Pay attention to multibyte characters when
...
TARGET_TYPE is Lisp_String.
1997-08-10 04:13:19 +00:00
Richard M. Stallman
fdb5bec046
(Frequire): Don't insist on a suffix
...
if the file name argument was explicitly specified.
1997-08-08 20:06:34 +00:00
Richard M. Stallman
14a136b327
(Frequire): Pass t for the MUST-SUFFIX arg to Fload.
1997-08-04 03:00:36 +00:00
Richard M. Stallman
1eb569c521
(syms_of_fns): Fix previous change.
1997-07-09 00:33:33 +00:00
Richard M. Stallman
2e34157cd9
Fix bugs with inappropriate mixing of Lisp_Object with int.
1997-07-04 20:44:52 +00:00
Richard M. Stallman
bdd8d692f3
(Fy_or_n_p, Fyes_or_no_p): Obey use_dialog_box.
...
(use_dialog_box): New variable, controls whether to use dialog boxes.
(syms_of_fns): Set up Lisp variable.
(concat): Use XCONS rather than Fcar, Fcdr--for known cons.
(Fassq, assq_no_quit, Fassoc, Frassq, Frassoc, Fdelq): Likewise.
(Fdelete, Fplist_get, mapcar1, Fmember, Fmemq): Likewise.
1997-07-02 06:23:21 +00:00
Richard M. Stallman
9d14ae763f
(Freverse): Simplify.
1997-06-23 18:56:17 +00:00
Kenichi Handa
5b6dddaac2
(concat): Pay attention to multibyte characters when
...
TARGET_TYPE is Lisp_String.
1997-06-18 13:09:05 +00:00
Richard M. Stallman
09ee221d20
(map_char_table): Use XSETFASTINT.
1997-06-02 00:33:14 +00:00
Richard M. Stallman
e814a15920
(Fchar_table_range, Fset_char_table_range):
...
Make one-element vector work for RANGE.
1997-05-30 05:11:26 +00:00
Kenichi Handa
7e798f25b7
(map_char_table): For sub char-table, index should be
...
start from 0 (not from 32) considering a composite character.
(Fmap_char_table): Doc-string adjusted. The variable indices is
declared as an array of Lisp_Object.
1997-05-28 04:36:22 +00:00
Richard M. Stallman
36febf9e9b
(internal_equal): When comparing strings, ignore text props.
...
Friedman offers to fix anything that has trouble due to this.
1997-05-23 17:32:41 +00:00
Kenichi Handa
e1335ba243
(copy_sub_char_table): Declare the argument ARG as
...
Lisp_Object.
(Fset_char_table_default): New function.
1997-05-16 00:43:05 +00:00
Richard M. Stallman
69b3a14b48
(Fcopy_sequence): Correctly copy the char-table contents.
1997-05-15 18:39:33 +00:00
Richard M. Stallman
46ed603f3e
(map_char_table): New arg SUBTABLE. Callers changed.
...
Pass the whole chartable to C_FUNCTION.
Pass index character as a Lisp_Object.
1997-05-13 19:51:29 +00:00
Kenichi Handa
3720677d59
(copy_sub_char_table): New function.
...
(Fcopy_sequence): Call copy_sub_char_table for copying a sub char table.
(Fchar_table_range, Fset_char_table_range, map_char_table,
Fmap_char_table): Handle multibyte characters correctly.
1997-04-07 07:12:13 +00:00
Karl Heuer
25c307484f
(Fcopy_sequence): Delete unused variable.
...
(Fchar_table_extra_slot, Fset_char_table_extra_slot): Doc fix.
(map_char_table): When expanding indices, don't increase depth;
that's amount used, not amount allocated.
1997-04-03 22:08:30 +00:00
Kenichi Handa
a8283a4a98
(map_char_table): Handle multibyte characters.
1997-03-18 23:31:34 +00:00
Karl Heuer
e22e428338
(Fcopy_sequence, concat, internal_equal, Ffillarray):
...
Fix a bug of miscalculation of `size_in_chars' of a bool vector.
(Fset_char_table_range): When range is vector, make the original
char table deeper if necessary.
1997-02-22 19:31:56 +00:00
Richard M. Stallman
de712da3be
(concat): Take modulus of thisindex before shifting.
...
Declare thisindex as unsigned.
1997-01-13 03:33:26 +00:00
Richard M. Stallman
2d8e7e1f13
Include frame.h and window.h.
...
(Fy_or_n_p): Handle minibuffer_auto_raise here.
1996-11-11 20:32:48 +00:00
Richard M. Stallman
1847b19b41
(map_char_table): Declare depth as int.
1996-09-04 03:42:09 +00:00
Richard M. Stallman
21fbc8e5ae
(Fsubstring): Handle vectors as well as strings.
1996-08-29 03:50:02 +00:00
Karl Heuer
aad2a123ca
(Fy_or_n_p): Pass 3rd arg to Flookup_key.
1996-07-16 06:19:43 +00:00
Karl Heuer
e2018b7413
(map_char_table): Fix args in recursive call.
1996-02-21 21:12:21 +00:00
Richard M. Stallman
52a9879bef
(syms_of_fns): Set yes-or-no-p-history to nil.
1996-02-04 20:12:50 +00:00
Richard M. Stallman
eb4ffa4eb0
(Qcursor_in_echo_area): New variable.
...
(syms_of_fns): Set up Lisp var.
(Fy_or_n_p): Bind Qcursor_in_echo_area in case of nonlocal exit.
1996-02-01 16:10:41 +00:00
Richard M. Stallman
b312cc52b3
(Fy_or_n_p): Call choose_minibuf_frame.
1996-01-27 17:31:33 +00:00
Erik Naggum
3b7ad313e0
Update FSF's address in the preamble.
1996-01-15 09:18:04 +00:00
Karl Heuer
55cc974de6
(Fset_char_table_parent): Fix previous change.
1996-01-09 02:55:53 +00:00
Erik Naggum
88fe8140fe
(Frandom, Flength, Felt, Fsort, Fchar_table_subtype, Fchar_table_parent,
...
Fset_char_table_parent, Fchar_table_extra_slot, Fset_char_table_extra_slot,
Fchar_table_range, Fset_char_table_range, Fmap_char_table, Fmapconcat,
Fmapcar): Harmonize arguments with documentation.
1996-01-09 02:03:13 +00:00
Erik Naggum
1fbb64aa7f
(Fplist_get): Rename arg val' to plist' as in doc.
1996-01-07 14:34:54 +00:00
Richard M. Stallman
0ef68e8a27
(Fy_or_n_p, Fyes_or_no_p): using_x_p renamed to have_menus_p.
...
HAVE_X_MENU renamed to HAVE_MENUS.
1995-12-26 04:34:05 +00:00
Geoff Voelker
58def86c20
[HAVE_NTGUI] (Fy_or_n_p, Fyes_or_no_p): Allow popup.
1995-11-07 07:18:17 +00:00
Karl Heuer
68be917ded
(BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):
...
Rename from SHORTBITS, INTBITS, LONGBITS.
1995-10-31 02:34:16 +00:00
Richard M. Stallman
3a61aeb489
(Fsafe_length): Add missing parentheses around & within comparison.
1995-10-30 19:34:27 +00:00