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

229 commits

Author SHA1 Message Date
Kenichi Handa
a1a17b614d (init_buffer_once): Make member
enable_multibyte_characters of struct buffer not always local.
(reset_buffer): Do not reset b->enable_multibyte_characters.
(syms_of_buffer): Declare default-enable-multibyte-characters.
1997-02-27 11:15:55 +00:00
Karl Heuer
3b06f8809c Include charset.h.
(Fget_buffer_create): Allocate an extra byte for a buffer, and
make it always 0 for anchoring.
(reset_buffer): Handle a new member `enable_multibyte_characters'
in the struct buffer.
(fix_overlay_before): New function.
(init_buffer_once): Handle new members in the struct buffer.
(syms_of_buffer): Declare new buffer local variables
`enable-multibyte-characters' and `direction-reserved'.
1997-02-20 06:44:32 +00:00
Richard M. Stallman
cd0c235a9d Fix typo editing previous change. 1997-01-07 09:03:23 +00:00
Richard M. Stallman
6d12711f44 (Fpop_to_buffer): New arg NORECORD. 1997-01-05 02:53:57 +00:00
Richard M. Stallman
319c537c12 (syms_of_buffer): Doc fix (transient-mark-mode). 1996-12-11 01:07:41 +00:00
Richard M. Stallman
0995fa350a (init_buffer): Add /: to dir names that could be magic. 1996-10-04 04:26:23 +00:00
Richard M. Stallman
b77087c572 (syms_of_buffer): Doc fix. 1996-10-01 22:49:15 +00:00
Richard M. Stallman
6b5d3b89ee (overlay_strings): Declare pstr using unsigned char. 1996-09-19 03:31:13 +00:00
Richard M. Stallman
2509d35657 (Fget_buffer_create): Initialize BUF_OVERLAY_MODIFF. 1996-09-16 09:32:54 +00:00
Richard M. Stallman
876aa27cce (modify_overlay): Renamed from redisplay_region
moved here from xdisp.c, and made static.  Callers changed.
Update OVERLAY_MODIFF instead of MODIFF.
1996-09-15 01:57:03 +00:00
Richard M. Stallman
f0724bcbff (syms_of_buffer): Doc fixes. 1996-09-09 22:36:48 +00:00
Richard M. Stallman
0dc6f165b8 (reset_buffer): Initialize last_selected_window slot. 1996-09-02 05:11:15 +00:00
Karl Heuer
e3678b6433 Removed support for !MULTI_FRAME. 1996-09-01 21:04:32 +00:00
Richard M. Stallman
2e716096a0 (buffer_permanent_local_flags): New variable.
(init_buffer_once): Initialize it.
(reset_buffer_local_variables): New argument PERMANENT_TOO.
Callers changed.  Now declared static.
1996-07-26 16:08:04 +00:00
Richard M. Stallman
13de9290cf (buffer_permanent_local_flags): New variable.
(init_buffer_once): Initialize it.
(reset_buffer_local_variables): New argument PERMANENT_TOO.
Callers changed.  Now declared static.
1996-07-23 22:36:11 +00:00
Karl Heuer
54158e68b2 (syms_of_buffer): Doc fix. 1996-07-11 23:17:56 +00:00
Richard M. Stallman
b64d74423e (Fkill_buffer): Doc fix. 1996-06-12 21:47:03 +00:00
Richard M. Stallman
405615e51b (Fpop_to_buffer): Doc fix. 1996-05-30 23:11:14 +00:00
Richard M. Stallman
0b1f1b099f (add_overlay_mod_hooklist): Fix call to bcopy. 1996-05-01 21:20:05 +00:00
Richard M. Stallman
079242944a (syms_of_buffer): Doc fix. 1996-04-16 16:10:19 +00:00
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