aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (Vafter_change_functions, Vbefore_change_functions): New variables.Richard M. Stallman1994-04-101-4/+31
| | | | (syms_of_buffer): Set up Lisp vars.
* (Fget_buffer_create): Disallow empty string.Karl Heuer1994-04-061-0/+3
|
* (verify_overlay_modification): Run modification-hooks for any deletion thatKarl Heuer1994-04-051-6/+6
| | | | intersects the overlay.
* (overlays_at): Fix previous change.Richard M. Stallman1994-04-031-2/+2
|
* (overlays_at): Use XGCTYPE.Richard M. Stallman1994-04-031-4/+4
|
* (list_buffers_1): Set buffer contents, then mode.Karl Heuer1994-04-021-7/+4
|
* (verify_overlay_modification):Richard M. Stallman1994-03-301-6/+31
| | | | Copy TAIL before a hook, in case the hook recenters the overlay lists.
* (sort_overlays, Fmake_overlay): Use assignment, not initialization.Karl Heuer1994-03-231-5/+6
|
* (reset_buffer): Init auto_save_failure_time slot.Richard M. Stallman1994-03-231-0/+1
|
* (buffer-display-table, buffer-undo-list): Delete docstring of second versionKarl Heuer1994-03-141-2/+2
| | | | of function, to avoid confusing make-docfile.
* (Fkill_buffer, Fkill_all_local_variables):Richard M. Stallman1994-03-051-2/+4
| | | | Don't call Vrun_hooks if it is nil.
* (Fget_file_buffer): Doc fix.Karl Heuer1994-03-031-0/+1
|
* (sort_overlays): Allow for null window.Karl Heuer1994-02-241-20/+20
|
* (Fkill_buffer): Call the Vkill_buffer_query_functions.Richard M. Stallman1994-02-241-1/+21
| | | | (syms_of_buffer): Make Lisp var for kill-buffer-query-functions.
* (syms_of_buffer): Doc fix.Richard M. Stallman1994-02-111-1/+3
|
* (Fkill_all_local_variables): Run change-major-mode-hook.Karl Heuer1994-02-091-0/+2
|
* (sort-overlays): New function, extracted from xfaces.c.Karl Heuer1994-02-091-0/+85
|
* Whitespace change.Richard M. Stallman1994-01-301-2/+2
|
* (kill-all-local-variables): follow symbol forwarding.Karl Heuer1994-01-291-1/+2
|
* (syms_of_buffer): Don't do (put 'erase-buffer 'disabled t) here.Roland McGrath1994-01-121-3/+5
| | | | (keys_of_buffer): Do it here instead.
* [MSDOS]: New buffer-local variable:Richard M. Stallman1994-01-081-0/+25
| | | | buffer-file-type to handle DOS newlines.
* Don't include syntax.h.Richard M. Stallman1994-01-041-1/+12
| | | | | | (Qget_file_buffer): New variable. (syms_of_buffer): Set up Qget_file_buffer. (Fget_file_buffer): For magic file names, run the handler.
* (Fbuffer_disable_undo): Make arg optional.Richard M. Stallman1993-12-231-2/+3
|
* (Frename_buffer): When the current buffer is already named NAME, don'tRoland McGrath1993-11-201-1/+5
| | | | | | | 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.
* Undo last change. SPC feeping at you is too annoying.Roland McGrath1993-11-201-1/+1
|
* (Frename_buffer): Change s to B in interactive spec to give buffer-nameRoland McGrath1993-11-201-1/+1
| | | | | completion. Buffers are often renamed to a name similar to the name of an existing buffer.
* (Flist_buffers): Always return a value.Richard M. Stallman1993-11-191-3/+4
|
* (Foverlay_put): Don't call redisplay_region if overlay has no buffer.Richard M. Stallman1993-11-161-3/+5
|
* (Ferase_buffer): Doc fix.Richard M. Stallman1993-11-091-1/+1
|
* (Fdelete_overlay, Foverlay_put): Use marker_position,Richard M. Stallman1993-10-141-4/+4
| | | | not OVERLAY_POSITION, to get args for redisplay_region.
* Include <config.h> instead of "config.h".Roland McGrath1993-09-101-1/+1
|
* (verify_overlay_modification): initialize endpos.Richard M. Stallman1993-08-111-0/+1
|
* (Fmove_overlay): Avoid initializer for Lisp_Object vars.Richard M. Stallman1993-08-021-4/+6
| | | | (verify_overlay_modification): Declare ostart, oend as Lisp_Object.
* (syms_of_buffer): Lisp var doc fixes.Richard M. Stallman1993-07-221-0/+10
|
* (Qmodification_hooks, Qinsert_in_front_hooks)Richard M. Stallman1993-07-211-0/+10
| | | | | (Qinsert_behind_hooks): Moved here. (syms_of_buffer): Lisp vars set up here.
* (Fbuffer_local_variables): For local var that is unbound,Richard M. Stallman1993-07-151-13/+26
| | | | put just the symbol in the result, not a cons of (symbol . value).
* (verify_overlay_modification): New function.Richard M. Stallman1993-07-131-0/+95
| | | | (call_overlay_mod_hooks): New function.
* * buffer.c (list_buffers_1): Make desired_point a lisp object; setJim Blandy1993-06-221-9/+12
| | | | | | | 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.
* Don't let the 'B' interactive spec default to buffers viewed inJim Blandy1993-06-171-1/+1
| | | | | | | | | | 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.
* Don't let the 'B' interactive spec default to buffers viewed inJim Blandy1993-06-171-1/+1
| | | | | | | | | | | | | 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.
* * buffer.c (list_buffers_1): Return the desired point.Jim Blandy1993-06-161-8/+13
| | | | (Flist_buffers): Put point there in the buffer summary.
* (Fgenerate_new_buffer_name): GENTEMP is the value compare against IGNORE.Richard M. Stallman1993-06-111-1/+1
|
* Apply typo patches from Paul Eggert.Jim Blandy1993-06-091-1/+1
|
* (Fdelete_overlay): Do nothing if overlay already deleted.Richard M. Stallman1993-06-071-8/+25
| | | | | | Bind inhibit-quit to t. (Fmove_overlay): Properly handle changing buffers, or no prev buffer. Bind inhibit-quit to t.
* (syms_of_buffer): Set up Lisp var inhibit-read-only.Richard M. Stallman1993-06-041-1/+15
| | | | | (Vinhibit_read_only): Declared. (Fbarf_if_buffer_read_only): Check Vinhibit_read_only.
* (init_buffer): Init default-directory of minibuffer.Richard M. Stallman1993-06-031-0/+4
|
* (Fgenerate_new_buffer_name): Doc fix.Roland McGrath1993-05-301-1/+1
|
* (reset_buffer): Clear mark_active field here.Richard M. Stallman1993-05-301-4/+4
| | | | | | (reset_buffer_local_variables): Not here. (Fswitch_to_buffer, Fpop_to_buffer): Return the buffer. (Fmove_overlay): Fix data types in last change.
* (reset_buffer): Clear mark_active field here.Richard M. Stallman1993-05-291-1/+1
| | | | (reset_buffer_local_variables): Not here.
* (Fgenerate_new_buffer_name): New arg IGNORE.Richard M. Stallman1993-05-281-5/+11
| | | | (Frename_buffer): Pass new arg.