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

108 commits

Author SHA1 Message Date
Richard M. Stallman
55b4889367 (verify_overlay_modification): GCPRO tail and overlay.
Avoid copying tail twice.
1994-05-24 21:16:23 +00:00
Karl Heuer
2b1bdf65a9 (fix_overlays_in_range): New function. 1994-05-17 03:30:40 +00:00
Karl Heuer
bbe20e81d1 (Foverlay_lists): Doc fix.
(Fnext_overlay_change): Doc fix.
1994-05-13 22:21:45 +00:00
Richard M. Stallman
d59698c431 (Frename_buffer): Reject empty string as new name.
(syms_of_buffer): Fix typo in previous change.
1994-05-11 04:16:19 +00:00
Richard M. Stallman
b86344d06f (Qbuffer_file_type): Var deleted.
(syms_of_buffer): Doc fix.
1994-05-10 07:30:11 +00:00
Richard M. Stallman
9d130ffc23 (syms_of_buffer): Doc fix. 1994-05-03 19:17:39 +00:00
Richard M. Stallman
0776cb1b91 (init_buffer_once): Initialize buffer_file_type field right. 1994-05-02 07:49:57 +00:00
Richard M. Stallman
c5a1522230 (Fkill_all_local_variables): Doc fix. 1994-04-24 05:13:41 +00:00
Richard M. Stallman
e9edf33c1c (reset_buffer_local_variables): Use Vascii_eqv_table
and Vascii_canon_table.
1994-04-23 16:32:44 +00:00
Karl Heuer
a617e9133c Pass operation to Ffind_file_name_handler. 1994-04-22 23:41:18 +00:00
Richard M. Stallman
5f0792675d (Vafter_change_functions, Vbefore_change_functions): New variables.
(syms_of_buffer): Set up Lisp vars.
1994-04-10 02:33:16 +00:00
Karl Heuer
31cd83e944 (Fget_buffer_create): Disallow empty string. 1994-04-06 04:06:13 +00:00
Karl Heuer
3bd13e9203 (verify_overlay_modification): Run modification-hooks for any deletion that
intersects the overlay.
1994-04-05 03:32:07 +00:00
Richard M. Stallman
3ccf510abd (overlays_at): Fix previous change. 1994-04-03 23:22:06 +00:00
Richard M. Stallman
4a44b14c12 (overlays_at): Use XGCTYPE. 1994-04-03 19:37:59 +00:00
Karl Heuer
9f31d21b2c (list_buffers_1): Set buffer contents, then mode. 1994-04-02 04:08:50 +00:00
Richard M. Stallman
5fb5aa335e (verify_overlay_modification):
Copy TAIL before a hook, in case the hook recenters the overlay lists.
1994-03-30 06:32:54 +00:00
Karl Heuer
c99fc30f56 (sort_overlays, Fmake_overlay): Use assignment, not initialization. 1994-03-23 22:25:50 +00:00
Richard M. Stallman
84f6bcba55 (reset_buffer): Init auto_save_failure_time slot. 1994-03-23 05:07:26 +00:00
Karl Heuer
de15914a5d (buffer-display-table, buffer-undo-list): Delete docstring of second version
of function, to avoid confusing make-docfile.
1994-03-14 22:01:20 +00:00
Richard M. Stallman
fd186f07f1 (Fkill_buffer, Fkill_all_local_variables):
Don't call Vrun_hooks if it is nil.
1994-03-05 20:31:10 +00:00
Karl Heuer
92194d02c2 (Fget_file_buffer): Doc fix. 1994-03-03 17:35:55 +00:00
Karl Heuer
0fa767e7a9 (sort_overlays): Allow for null window. 1994-02-24 19:08:19 +00:00
Richard M. Stallman
dcdffbf66a (Fkill_buffer): Call the Vkill_buffer_query_functions.
(syms_of_buffer): Make Lisp var for kill-buffer-query-functions.
1994-02-24 05:34:16 +00:00
Richard M. Stallman
dd24e6a699 (syms_of_buffer): Doc fix. 1994-02-11 19:06:00 +00:00
Karl Heuer
7410477aee (Fkill_all_local_variables): Run change-major-mode-hook. 1994-02-09 23:47:09 +00:00
Karl Heuer
5985d248db (sort-overlays): New function, extracted from xfaces.c. 1994-02-09 03:23:48 +00:00
Richard M. Stallman
2735b685b4 Whitespace change. 1994-01-30 01:03:56 +00:00
Karl Heuer
0237d897f6 (kill-all-local-variables): follow symbol forwarding. 1994-01-29 02:03:55 +00:00
Roland McGrath
4158c17d05 (syms_of_buffer): Don't do (put 'erase-buffer 'disabled t) here.
(keys_of_buffer): Do it here instead.
1994-01-12 00:49:37 +00:00
Richard M. Stallman
54ad07d30f [MSDOS]: New buffer-local variable:
buffer-file-type to handle DOS newlines.
1994-01-08 09:21:59 +00:00
Richard M. Stallman
5fe0b67ed4 Don't include syntax.h.
(Qget_file_buffer): New variable.
(syms_of_buffer): Set up Qget_file_buffer.
(Fget_file_buffer): For magic file names, run the handler.
1994-01-04 06:38:43 +00:00
Richard M. Stallman
5b8bcf48ed (Fbuffer_disable_undo): Make arg optional. 1993-12-23 01:55:14 +00:00
Roland McGrath
c059b5eaa1 (Frename_buffer): When the current buffer is already named NAME, don't
short-circuit and just return unless UNIQUE is nil.  This makes passing
UNIQUE=t equivalent to (rename-buffer (generate-new-buffer-name NAME)).
This is useful way to rename the buffer automatically so you can create
another with the original name.
1993-11-20 01:41:51 +00:00
Roland McGrath
4c7e5f092d Undo last change. SPC feeping at you is too annoying. 1993-11-20 01:31:19 +00:00
Roland McGrath
6a22587982 (Frename_buffer): Change s to B in interactive spec to give buffer-name
completion.  Buffers are often renamed to a name similar to the name of an
existing buffer.
1993-11-20 01:28:24 +00:00
Richard M. Stallman
fd2dab90e1 (Flist_buffers): Always return a value. 1993-11-19 17:48:44 +00:00
Richard M. Stallman
25d16451c8 (Foverlay_put): Don't call redisplay_region if overlay has no buffer. 1993-11-16 07:09:11 +00:00
Richard M. Stallman
2950a20e83 (Ferase_buffer): Doc fix. 1993-11-09 21:34:18 +00:00
Richard M. Stallman
a927f5c9af (Fdelete_overlay, Foverlay_put): Use marker_position,
not OVERLAY_POSITION, to get args for redisplay_region.
1993-10-14 04:29:17 +00:00
Roland McGrath
18160b98ce Include <config.h> instead of "config.h". 1993-09-10 06:15:46 +00:00
Richard M. Stallman
cdf0b09689 (verify_overlay_modification): initialize endpos. 1993-08-11 21:08:13 +00:00
Richard M. Stallman
be8b1c6b25 (Fmove_overlay): Avoid initializer for Lisp_Object vars.
(verify_overlay_modification): Declare ostart, oend as Lisp_Object.
1993-08-02 07:28:31 +00:00
Richard M. Stallman
54939090dc (syms_of_buffer): Lisp var doc fixes. 1993-07-22 08:53:43 +00:00
Richard M. Stallman
294d215f89 (Qmodification_hooks, Qinsert_in_front_hooks)
(Qinsert_behind_hooks): Moved here.
(syms_of_buffer): Lisp vars set up here.
1993-07-21 22:33:00 +00:00
Richard M. Stallman
553defa404 (Fbuffer_local_variables): For local var that is unbound,
put just the symbol in the result, not a cons of (symbol . value).
1993-07-15 05:36:59 +00:00
Richard M. Stallman
173f2a642c (verify_overlay_modification): New function.
(call_overlay_mod_hooks): New function.
1993-07-13 21:05:26 +00:00
Jim Blandy
718cde7d8e * buffer.c (list_buffers_1): Make desired_point a lisp object; set
it to nil, unless we find the current buffer.
	(Flist_buffers): Don't try to set point in the buffer list unless
	list_buffers_1 actually returns an integer.  Don't use a full
	save_excursion; just save and restore the buffer.
1993-06-22 07:39:26 +00:00
Jim Blandy
db732e5a3d Don't let the 'B' interactive spec default to buffers viewed in
any visible frame.
	* buffer.c (Fother_buffer): Pass Qt as the second argument
	to Fget_buffer_window.
	* window.c (window_loop): In GET_BUFFER_WINDOW case, ignore
	non-visible frames.
	(Fget_buffer_window): Change doc string to mention that passing Qt
	for the FRAME argument returns windows on visible frames only.
1993-06-17 05:05:53 +00:00
Jim Blandy
75d8f6686c Don't let the 'B' interactive spec default to buffers viewed in
any visible frame.
	* buffer.c (Fother_buffer): Pass Qvisible as the second argument
	to Fget_buffer_window.
	* window.c (Qvisible): New symbol.
	(window_loop): In GET_BUFFER_WINDOW case, if frames is Qvisible,
	ignore non-visible frames.
	(Fget_buffer_window): Expand doc string to mention that Qvisible
	is an interesting value for FRAME argument.
	(syms_of_window): Init and staticpro Qvisible.
	* lisp.h (Qvisible): New declaration.
1993-06-17 00:39:37 +00:00