1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 09:51:22 -08:00
Commit graph

209 commits

Author SHA1 Message Date
Richard M. Stallman
0dc88e60fa (Fbuffer_live_p): New function.
(syms_of_buffer): defsubr it.
1996-02-06 23:48:06 +00:00
Richard M. Stallman
da1c183cca (syms_of_buffer): Doc fix. 1996-02-03 18:08:58 +00:00
Richard M. Stallman
000f808355 Whitespace change. 1996-01-28 00:11:39 +00:00
Karl Heuer
89132f25ac (Fother_buffer): If we have to create a new buffer, use
default-major-mode.
1996-01-19 22:39:00 +00:00
Erik Naggum
3b7ad313e0 Update FSF's address in the preamble. 1996-01-15 09:18:04 +00:00
Erik Naggum
a2428fa2a2 (Fmake_indirect_buffer, Fset_buffer_major_mode, Fpop_to_buffer,
Fbury_buffer, Foverlay_get): Harmonize arguments with documentation.
1996-01-09 00:30:29 +00:00
Erik Naggum
b26dd9cb87 (Fkill_buffer): Delete buffer from Vbuffer_alist after replacing it. 1996-01-02 19:11:31 +00:00
Richard M. Stallman
00550f94af (Fkill_buffer): Use replace_buffer_in_all_windows. 1996-01-02 08:54:40 +00:00
Karl Heuer
a25f13ae8a (Fkill_buffer): Rename arg bufname to buffer.
Don't gcpro it after the last use.
(Fswitch_to_buffer, Fpop_to_buffer): Rename arg bufname to buffer.
(Fset_buffer): Likewise, and rename local buffer to buf.

(reset_buffer, init_buffer_once): Delete code that touches
redisplay_end_trigger field in buffer.
1995-12-21 16:55:39 +00:00
Richard M. Stallman
acac2700ec (Fmake_overlay): New args front-advance and rear-advance.
(syms_of_buffer): Delete the buffer-redisplay-end-trigger local variable.
1995-11-10 06:32:38 +00:00
Richard M. Stallman
3446af9c77 (reset_buffer_local_variables): Call
Fset_standard_case_table if std case table seems to have been changed.
1995-10-22 16:40:53 +00:00
Richard M. Stallman
fb2030e306 (reset_buffer): Initialize extra1, extra2 and extra3 slots. 1995-10-21 23:14:06 +00:00
Richard M. Stallman
55ac8536fe (reset_buffer): Initialize redisplay_end_trigger slot.
(init_buffer_once): Mark redisplay_end_trigger always local.
Also fix previous change.
(syms_of_buffer): Set up Lisp var buffer-redisplay-end-trigger.
1995-10-21 23:01:11 +00:00
Richard M. Stallman
1e9b6335bb (reset_buffer_local_variables): Init case_table slots the new way. 1995-10-19 00:09:46 +00:00
Richard M. Stallman
e95a0b39f8 (Fkill_buffer): Don't kill auto save file if not recent. 1995-10-11 14:41:55 +00:00
Erik Naggum
6fdc249f09 (buffer-display-table): Document new implementation. 1995-10-09 20:52:43 +00:00
Richard M. Stallman
a96621c61e (init_buffer_once): Make file_format always local, not just local when set. 1995-10-08 19:26:07 +00:00
Richard M. Stallman
ea064aa0d0 (Fmake_indirect_buffer): Was taking marker positions
from current buffer, which is irrelevant.
1995-10-04 17:24:33 +00:00
Richard M. Stallman
597dd755eb (Fmake_overlay): Set end-marker's insertion_type to 1. 1995-10-03 18:43:12 +00:00
Richard M. Stallman
26d84681fa (Fmake_indirect_buffer): Set the insertion_type of the zv_marker markers to 1. 1995-09-03 18:52:37 +00:00
Richard M. Stallman
52e011899b (get_truename_buffer): New function. 1995-08-09 22:39:09 +00:00
Richard M. Stallman
2237866508 (Qbefore_change_functions, Qafter_change_functions): New variables.
(syms_of_buffer): Initialize them.
1995-08-05 22:57:46 +00:00
Karl Heuer
cb26008f39 (record_overlay_string, overlay_strings): Handle zero-sized overlays better. 1995-07-27 22:44:41 +00:00
Karl Heuer
e8185fa816 (struct sortstrlist): New type.
(overlay_heads, overlay_tails): Change to struct sortstrlist.
(overlay_heads_len, overlay_tails_len): Deleted; now part of struct.
(record_overlay_string): New function.
(overlay_strings): Simplify.  Use record_overlay_string.
Check for window match in overlays_after loop, not just in
overlays_before.
1995-07-27 21:47:59 +00:00
Karl Heuer
9115729ea3 (last_overlay_modification_hooks): New variable.
(last_overlay_modification_hooks_used): Likewise.
(syms_of_buffer): Init last_overlay_modification_hooks.
(add_overlay_mod_hooklist): New function.
(call_overlay_mod_hooks): Call add_overlay_mod_hooklist.
(report_overlay_modification): When AFTER is non-nil,
call the functions recorded in last_overlay_modification_hooks.
1995-07-17 22:19:07 +00:00
Richard M. Stallman
2a3eeee73e (overlays_in): Don't count empty overlays at END.
(Foverlays_in): Likewise.
1995-07-07 13:31:48 +00:00
Richard M. Stallman
74514898f8 (overlays_in): New function.
(Foverlays_in): New function.
(syms_of_buffer): defsubr it.
1995-06-26 03:54:38 +00:00
Richard M. Stallman
bb4c204e27 (syms_of_buffer): Doc fix. 1995-06-21 23:09:16 +00:00
Richard M. Stallman
624bbdc475 (Fprevious_overlay_change): Check for overlays that end at POS. 1995-06-14 14:09:53 +00:00
Karl Heuer
316784fbf8 (Fbuffer_disable_undo): Make this function interactive. 1995-06-07 21:00:01 +00:00
Karl Heuer
630f401831 Doc fix. 1995-06-07 18:38:02 +00:00
Karl Heuer
4a4a9db5ef (Fkill_buffer): When killing indirect buffer,
unchain that buffer's markers (only) from the common chain.
Don't rekill this buffer's indirect buffers that are dead.
Do nothing if this buffer is already dead.
1995-06-05 17:32:51 +00:00
Karl Heuer
c7aa500584 (set_buffer_internal_1): New subroutine.
(Fmove_overlay): Don't set windows_or_buffers_changed.
1995-05-24 00:43:27 +00:00
Karl Heuer
193c3837a1 (Fmake_indirect_buffer): Fix interactive spec. 1995-05-17 20:41:36 +00:00
Richard M. Stallman
b1c03e6462 (syms_of_buffer): Doc fix. 1995-05-15 23:24:45 +00:00
Karl Heuer
bbbe9545dd (Qbefore_string, Qafter_string): New vars.
(syms_of_buffer): Initialize and staticpro them.
(cmp_for_strings, overlay_strings): New functions.
1995-05-05 00:34:00 +00:00
Richard M. Stallman
60f4dd23c3 (Fset_buffer_modified_p): Use the truename for locking. 1995-05-02 18:16:30 +00:00
Karl Heuer
423cdb4617 (adjust_overlays_for_insert): New function.
(adjust_overlays_for_delete): New function.
1995-04-17 23:13:56 +00:00
Richard M. Stallman
2a77a7d712 (Foverlays_at, Fnext_overlay_change): Don't use NULL.
(Fprevious_overlay_change): Don't use NULL.
1995-04-13 16:54:41 +00:00
Richard M. Stallman
c3935f9df3 (evaporate_overlays): Fix type error. 1995-04-13 16:09:46 +00:00
Richard M. Stallman
89ca3e1b91 (Fmake_overlay): Use XMISCTYPE. 1995-04-07 05:32:09 +00:00
Richard M. Stallman
2f3f993bdf (Fkill_buffer): Call reset_buffer_local_variables
and swap_out_buffer_local_variables.
(swap_out_buffer_local_variables): New subroutine.
(Fkill_all_local_variables): Use that subroutine.
1995-04-06 06:58:50 +00:00
Karl Heuer
554216ad38 (syms_of_buffer): Doc fix. 1995-03-24 03:19:16 +00:00
Karl Heuer
fc04fa47a4 (overlay_touches_p): New function. 1995-03-22 21:23:10 +00:00
Boris Goldowsky
be9aafddc1 (reset_buffer): Reset file_format element too.(init_buffer_once): Define file_format flag; reset file_format.
(syms_of_buffer): New vbl buffer-file-format.
1995-03-17 18:12:02 +00:00
Richard M. Stallman
9e552710cf (Fmake_indirect_buffer): Invert the arguments. 1995-03-14 05:54:51 +00:00
Richard M. Stallman
3cb719bd3b (reset_buffer_local_variables): Init invisibility.
(init_buffer_once): Set up buffer_local_flags for it.
(syms_of_buffer): New variable `buffer-invisibility-spec'.
1995-03-11 22:36:29 +00:00
Richard M. Stallman
7c2087eea5 (Fpop_to_buffer): Call Fset_buffer_major_mode if we create a buffer. 1995-03-06 04:15:23 +00:00
Richard M. Stallman
f6ed2e848d (syms_of_buffer): Set up Lisp var buffer-file-truename.
(init_buffer_once): Set up flag and default value for file_truename.
(reset_buffer): Init file_truename slot.
1995-02-14 16:33:19 +00:00
Richard M. Stallman
81841847d1 (Fget_buffer_create): Call buffer_memory_full. 1995-02-05 08:58:27 +00:00