summaryrefslogtreecommitdiff
path: root/src/buffer.c
Commit message (Collapse)AuthorAgeFilesLines
* (syms_of_buffer) <selective-display>: Fix typo in docstring.Juanma Barranquero2007-06-271-2/+2
|
* (syms_of_buffer): Doc fix.Richard M. Stallman2007-05-311-1/+1
|
* (Fkill_buffer): gcpro BUF during kill_buffer_processesKim F. Storm2007-04-131-0/+9
| | | | and check that buffer is still alive upon return.
* (Fset_buffer_major_mode): Check that BUFFER is valid.Juanma Barranquero2007-03-291-0/+2
|
* (syms_of_buffer): Doc fix.Richard M. Stallman2007-03-191-1/+1
|
* (syms_of_buffer) <buffer-display-table>: Doc fix.Juanma Barranquero2007-03-181-2/+2
|
* Reflow docstrings.Juanma Barranquero2007-02-111-6/+5
|
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* (syms_of_buffer) <buffer-display-table>, scroll-up-aggressively,Juanma Barranquero2006-12-191-5/+5
| | | | scroll-down-aggressively>: Doc fixes.
* Whitespace change (again).Juanma Barranquero2006-12-181-1/+1
|
* Whitespace change.Juanma Barranquero2006-12-181-1/+1
|
* (Fkill_buffer): Doc fix.Juanma Barranquero2006-12-171-10/+13
| | | | (syms_of_buffer) <kill-buffer-query-functions>: Doc fix.
* (syms_of_buffer) <cursor-in-non-selected-windows, line-spacing, left-margin,Juanma Barranquero2006-12-111-5/+5
| | | | default-scroll-up-aggressively, default-scroll-down-aggressively>: Doc fixes.
* (syms_of_buffer) <default-major-mode>: Doc fix.Juanma Barranquero2006-12-101-2/+2
|
* (syms_of_buffer) <buffer-undo-list>: Doc fix.Juanma Barranquero2006-11-241-2/+2
|
* (syms_of_buffer): Reorder coding systems in theJuri Linkov2006-09-291-1/+1
| | | | docstring of %z to the real order displayed in the modeline.
* Minor doc fix.Chong Yidong2006-09-011-1/+1
|
* * buffer.h (struct buffer_text): New field chars_modiff.Chong Yidong2006-09-011-0/+27
| | | | | | | | | | | | | | | | | | | | | | (CHARS_MODIFF, BUF_CHARS_MODIFF): New macros. * buffer.c (Fbuffer_chars_modified_tick): New function returning value of BUF_CHARS_MODIFF. (syms_of_buffer): Defsubr it. (Fget_buffer_create): Initialize BUF_CHARS_MODIFF. * insdel.c (modify_region): New argument preserve_chars_modiff. Set CHARS_MODIFF to MODIFF provided preserve_chars_modiff is zero. (insert_1_both, insert_from_string_1, insert_from_buffer_1) (adjust_after_replace, adjust_after_replace_noundo) (replace_range, replace_range_2, del_range_2): Reset CHARS_MODIFF. * lisp.h (modify_region): Add fourth argument in extern. * casefiddle.c (casify_region): Call modify_region with fourth argument zero to assert that CHARS_MODIFF is updated. * editfns.c (Fsubst_char_in_region, Ftranslate_region_internal) (Ftranspose_regions): Likewise. * textprop.c (Fadd_text_properties, Fset_text_properties) (Fremove_text_properties, Fremove_list_of_text_properties): Call modify_region with fourth argument 1 to avoid that CHARS_MODIFF is updated.
* (Fset_buffer_multibyte): Simplify; use list3.Kim F. Storm2006-08-251-5/+4
|
* (Fswitch_to_buffer): Fix previous change.Richard M. Stallman2006-08-251-3/+8
|
* (Fswitch_to_buffer): Move buffer to front ofNick Roberts2006-08-241-3/+7
| | | | buffer-alist if necessary.
* 2006-08-22 Stefan Monnier <monnier@iro.umontreal.ca>Kim F. Storm2006-08-221-7/+19
| | | | (Fset_buffer_multibyte): Record proper undo entry.
* * buffer.c (Vchange_major_mode_hook, Qchange_major_mode_hook): New vars.Chong Yidong2006-08-061-1/+11
| | | | | (Fkill_all_local_variables): Use it. (syms_of_buffer): Defvar it.
* (Fbuffer_local_value, Fbarf_if_buffer_read_only):Kim F. Storm2006-07-181-4/+4
| | | | Use xsignal1.
* (mode-line-format): Fix docstring.Juri Linkov2006-05-251-1/+2
|
* (syms_of_buffer, Fmake_overlay): Doc fixes.Richard M. Stallman2006-05-211-4/+4
|
* (Fprevious_overlay_change, Fnext_overlay_change): Doc fixes.Richard M. Stallman2006-05-171-4/+6
|
* buffer.c: Revert last change.Chong Yidong2006-02-251-1/+0
|
* * buffer.c (Foverlay_put): Mark buffer as changed.Chong Yidong2006-02-251-0/+2
|
* (modify_overlay): Force redisplay if we modify anKim F. Storm2006-02-241-0/+4
| | | | overlay at the end of the buffer.
* (init_buffer_once): Set dummy default values forKim F. Storm2006-02-201-0/+48
| | | | | | | | fringe-indicator-alist and fringe-cursor-alist. The proper default values are set by pre-loading fringe.el. (syms_of_buffer): defvar_per_buffer new fringe-indicator-alist and fringe-cursor-alist buffer-local variables and defvar_lisp_nopro correspondig default- variables.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* (Fkill_buffer): Avoid dangerous side effects in NILP argument.Ken Raeburn2005-12-061-1/+2
|
* (Fpop_to_buffer): Remove superfluous call to record_buffer.Károly Lőrentey2005-11-301-3/+0
|
* (clone_per_buffer_values): Remove unused var tem.Kim F. Storm2005-10-201-2/+1
| | | | (init_buffer): Remove unused vars dotstat, pwdstat.
* (init_buffer): Rename `rc' to `len' for clarity.Romain Francoise2005-10-121-6/+6
|
* (init_buffer): Fix typos.Romain Francoise2005-09-101-1/+1
|
* (init_buffer): Grow buffer to add directory separatorRomain Francoise2005-09-101-2/+4
| | | | and terminal zero.
* (init_buffer): Fix error message for failed call to get_current_dir_name.Eli Zaretskii2005-09-101-4/+2
| | | | (get_current_dir_name): Remove prototype.
* (init_buffer): Use get_current_dir_name.Eli Zaretskii2005-09-101-28/+13
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-071-2/+3
|
* (syms_of_buffer) <cursor-type>: Doc fix.Juanma Barranquero2005-07-211-8/+8
|
* (scroll-up-aggressively, scroll-down-aggressively): Delete duplicate words.Juri Linkov2005-07-181-2/+2
|
* (Fmake_overlay): Doc fix.Richard M. Stallman2005-07-171-4/+6
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* Finish previous change.Richard M. Stallman2005-06-171-1/+1
|
* (syms_of_buffer) <cursor-type>: Doc fix.Richard M. Stallman2005-06-171-2/+2
|
* (Fbuffer_local_value): Call indirect_variable.Richard M. Stallman2005-05-291-0/+3
|
* (Fbuffer_local_value): Make argument name match its use in docstring.Juanma Barranquero2005-05-271-18/+18
|
* (init_buffer_once): Set cursor_in_non_selected_windows default value.Kim F. Storm2005-05-041-3/+9
| | | | | (syms_of_buffer): Add default-cursor-in-non-selected-windows. Fix type of cursor-in-non-selected-windows.