Karl Heuer
6cf71bf1f7
(Finsert_file_contents): Always update
...
Vlast_coding_system_used when we actually perform IO.
(Fwrite_region): Update documentation.
1998-06-05 16:02:11 +00:00
Karl Heuer
303901fb14
Comment change.
1998-06-05 15:51:08 +00:00
Karl Heuer
3270ae6e9b
(main): Don't implement --version if not initialized.
1998-06-04 06:09:59 +00:00
Karl Heuer
ad077db084
Handle the new convention that `position' values
...
in a string's intervals start from zero.
(validate_interval_range, interval_of, Fnext_property_change)
(property_change_between_p, Fnext_single_property_change)
(Fprevious_property_change, Fprevious_single_property_change):
(Ftext_property_any, Ftext_property_not_all): Implement that.
Undo previous change.
1998-06-03 14:45:03 +00:00
Karl Heuer
944d4e4b40
(create_root_interval): Initialize position to 0
...
for a string.
(interval_start_pos): New function.
(find_interval): Handle string positions starting at 0.
(adjust_intervals_for_insertion): Likewise.
(adjust_intervals_for_deletion): Likewise.
(compare_string_intervals): Likewise.
(graft_intervals_into_buffer): Set `position' in reproduce_tree value.
(copy_intervals): Init `position' to 0.
1998-06-03 14:44:21 +00:00
Karl Heuer
afee915020
(DECODE_FILE, ENCODE_FILE):
...
Use code_convert_string_norecord.
1998-06-03 14:41:27 +00:00
Karl Heuer
ecec61c199
(code_convert_string_norecord): New function.
...
Does encoding or decoding but doesn't set Vlast_coding_system_used.
1998-06-03 14:41:07 +00:00
Karl Heuer
074c438cbb
(sys_subshell): Cast arg to chdir.
...
(init_sys_modes): Cast arg to setbuf or setvbuf.
1998-06-02 15:52:04 +00:00
Karl Heuer
ac52ebd5d8
(syms_of_keyboard): Doc fix for suggest-key-bindings.
1998-06-02 15:49:47 +00:00
Kenichi Handa
5d76bc89d4
(string_to_non_ascii_char): Don't check the arg
...
EXCLUDE_TAIL_GARBAGE for an invalid composite characters.
1998-06-02 08:10:36 +00:00
Kenichi Handa
8a8147d64b
(detect_coding_mask): Initilize local variable C.
1998-06-02 03:54:18 +00:00
Karl Heuer
6524291c22
(main): Test `initialized' before clearing *Messages*.
1998-06-01 21:08:28 +00:00
Karl Heuer
42d720cfa9
(SOCKLEN_TYPE): Define as int.
1998-06-01 21:07:32 +00:00
Richard M. Stallman
c15cfd1faa
Remember the last TWO strings skipped with #@.
...
(prev_saved_doc_string*): New variables.
(Fload): Initalize prev_saved_doc_string.
(read1): Copy saved_doc_string to prev_saved_doc_string
before storing a new string in saved_doc_string.
(read_list): Look in prev_saved_doc_string as well as
in saved_doc_string.
(read1): Swap saved_doc_string_length and
prev_saved_doc_string_length.
(read_list): Negate docstring position if negative before checking
against saved_doc_string_length et al.
(read_vector): Add bytecodeflag parameter, which is
nonzero when reading a bytecode object. If
`load-force-doc-strings' is t when reading a lazily-loaded
bytecode vector, the loaded docstring must be treated as unibyte
and passed to Fread to obtain the actual bytecode string and
constants vector.
(read1): Add extra parameter to read_vector calls.
(read1): Enable saving of doc strings on WINDOWSNT.
(read_list): Call get_doc_string instead of read_doc_string, when
forced to load doc strings.
1998-06-01 21:03:23 +00:00
Karl Heuer
05b44e9027
(Fcall_process): Avoid initializer on auto struct.
1998-06-01 20:49:47 +00:00
Andrew Innes
124abc748d
Use 1 as explicit value of empty #defines.
1998-06-01 14:23:44 +00:00
Andrew Innes
efca9fdc86
(LOCAL_FLAGS): Define HAVE_NTGUI if appropriate.
1998-06-01 13:59:17 +00:00
Karl Heuer
cadf50ff82
(Finsert_file_contents): Fix char signedness mismatches.
1998-06-01 03:32:52 +00:00
Karl Heuer
c292461fc5
(doprnt1): Fix char signedness mismatches.
1998-06-01 03:32:00 +00:00
Karl Heuer
6d4279ab93
(Fredraw_frame): Don't erase frame or its glyph records
...
if it hasn't got any.
1998-06-01 03:12:04 +00:00
Geoff Voelker
556a263f57
(w32_fatal_reload_error): Update error message.
1998-05-30 23:42:16 +00:00
Geoff Voelker
eb9ea53f9c
(sys_rename): Handle filenames with accented characters.
...
(stat): Handle "c:/.." and "/.." specially.
1998-05-30 23:41:57 +00:00
Geoff Voelker
a5b56dcda1
(sys_spawnve): Place Emacs pid in EM_PARENT_PROCESS_ID.
1998-05-30 23:41:48 +00:00
Karl Heuer
e096c7f17f
(distclean): Delete config.stamp, stamp-oldxmenu.
1998-05-30 15:48:11 +00:00
Karl Heuer
da4d65af17
(syms_of_charset): Put \n\ at eol of docstring.
1998-05-30 14:52:20 +00:00
Karl Heuer
dd394ff9dd
(Fscroll_up, Fscroll_down, Fscroll_other_window): Doc fix.
1998-05-30 14:47:15 +00:00
Karl Heuer
17cea80917
(Fnext_property_change): Properly offset interval
...
position for string when comparing with LIMIT.
(property_change_between_p): Likewise.
(Fnext_single_property_change, Fprevious_property_change): Likewise.
(Fprevious_single_property_change): Likewise.
1998-05-29 22:26:22 +00:00
Richard M. Stallman
aaf3523422
(command_loop_1): In shortcuts for forward-char etc,,
...
use FETCH_CHAR not FETCH_BYTE.
1998-05-28 18:10:20 +00:00
Richard M. Stallman
15c1f6fe16
Add prototype for get_doc_string.
1998-05-28 00:46:54 +00:00
Richard M. Stallman
0c3debbc6f
(get_doc_string): Make non-static.
1998-05-28 00:46:38 +00:00
Richard M. Stallman
65059037ab
(detect_coding_system): Treat CODING_EOL_INCONSISTENT
...
like CODING_EOL_UNDECIDED.
1998-05-26 20:46:31 +00:00
Richard M. Stallman
f9ba10b011
(compute_motion): Check for past vpos/hpos target
...
before skipping invisible chars.
1998-05-25 22:33:38 +00:00
Richard M. Stallman
34c5d0ed52
(Fcall_interactively): Pass new arg to Fother_buffer.
1998-05-25 22:32:58 +00:00
Richard M. Stallman
96aab770c2
(sms_of_print): Doc fix in prev change.
1998-05-25 20:35:28 +00:00
Richard M. Stallman
38940e93ef
(print_escape_nonascii): New variable.
...
(print) <Lisp_String>: Use it to force printing single-byte
non-ASCII characters as octal escapes.
(syms_of_print): Define print-escape-nonascii.
1998-05-25 20:29:54 +00:00
Richard M. Stallman
29b7163fa9
(CHAR_TABLE_TRANSLATE): New macro.
1998-05-25 20:28:28 +00:00
Richard M. Stallman
44eba967fc
(RE_TRANSLATE): Use CHAR_TABLE_TRANSLATE.
1998-05-25 20:15:45 +00:00
Richard M. Stallman
33c4693956
(re_search_2): Don't use ++ inside RE_TRANSLATE.
...
(re_match_2_internal): Likewise.
1998-05-25 20:14:54 +00:00
Richard M. Stallman
1eab22b5de
(print) <Lisp_Cons>: Detect circular list.
1998-05-25 16:28:02 +00:00
Richard M. Stallman
c99babf20d
(XTread_socket): Fix second argument of x_any_window_to_frame.
1998-05-25 16:03:58 +00:00
Richard M. Stallman
9e1348eee9
(setpgrp): Remove extra parens around parameters.
1998-05-25 16:01:08 +00:00
Kenichi Handa
66cfb53089
(ascii_skip_code): New variable.
...
(detect_coding_mask): Skip ASCII codes at the head according to
ascii_skip_code.
(coding_priorities): New variable.
(Fset_coding_priority_internal): New function.
(detect_coding): Call set_coding_mask with coding_priorities as
arg CODING.
(init_coding_once): Initialize ascii_skip_code.
(syms_of_coding): Declare set-coding-priority-internal as a Lisp
function.
1998-05-25 08:08:07 +00:00
Richard M. Stallman
c520265ed4
(Fdelete_windows_on): For FRAME, change t to nil
...
and nil to t, but don't change other values.
1998-05-25 04:20:12 +00:00
Richard M. Stallman
6efc788795
(shrink_regexp_cache): New function.
1998-05-24 23:24:25 +00:00
Richard M. Stallman
eec7b73dba
(Fgarbage_collect): Call shrink_regexp_cache.
1998-05-24 23:23:59 +00:00
Richard M. Stallman
e18a235e39
(message_dolog): Do set windows_or_buffers_changed,
...
if *Messages* is displayed in a window.
1998-05-24 07:30:16 +00:00
Richard M. Stallman
39a4c932b6
(Fchar_after): Make nil fully equivalent to (point) as arg.
...
(Fchar_before): Likewise.
1998-05-23 20:02:01 +00:00
Richard M. Stallman
97c3c30c78
(Fother_buffer): Doc fix.
1998-05-22 20:09:01 +00:00
Richard M. Stallman
dbe7f1eff4
(frame_buffer_predicate, frame_buffer_list)
...
(set_frame_buffer_list, Fother_buffer): Decls changed.
1998-05-22 20:06:49 +00:00
Richard M. Stallman
773fbdb9c8
(Fother_buffer): New arg FRAME. Calls changed.
...
Pass it to frame_buffer_list, frame_buffer_predicate.
(record_buffer): Pass selected frame to them
and to set_frame_buffer_list.
1998-05-22 20:05:56 +00:00