Glenn Morris
8cabe764e9
Add 2008 to copyright years.
2008-01-08 04:37:27 +00:00
Richard M. Stallman
aabc29c88d
(Foverlays_at): Doc fix.
2007-09-19 13:20:51 +00:00
Glenn Morris
684d6f5bcc
Switch license to GPLv3 or later.
2007-07-25 05:19:07 +00:00
Juanma Barranquero
251db0f475
(syms_of_buffer) <selective-display>: Fix typo in docstring.
2007-06-27 11:40:26 +00:00
Richard M. Stallman
b49dd850dd
(syms_of_buffer): Doc fix.
2007-05-31 23:47:25 +00:00
Kim F. Storm
49da74e698
(Fkill_buffer): gcpro BUF during kill_buffer_processes
...
and check that buffer is still alive upon return.
2007-04-13 12:52:00 +00:00
Juanma Barranquero
ea4fddd894
(Fset_buffer_major_mode): Check that BUFFER is valid.
2007-03-29 16:00:03 +00:00
Richard M. Stallman
5fd11dc8c6
(syms_of_buffer): Doc fix.
2007-03-19 05:27:45 +00:00
Juanma Barranquero
adbb3b0547
(syms_of_buffer) <buffer-display-table>: Doc fix.
2007-03-18 00:20:22 +00:00
Juanma Barranquero
2f064abf1f
Reflow docstrings.
2007-02-11 02:16:37 +00:00
Glenn Morris
4e6835dbc4
Add 2007 to copyright years.
2007-01-21 04:57:37 +00:00
Juanma Barranquero
426a9163c6
(syms_of_buffer) <buffer-display-table>, scroll-up-aggressively,
...
scroll-down-aggressively>: Doc fixes.
2006-12-19 15:28:06 +00:00
Juanma Barranquero
2362594622
Whitespace change (again).
2006-12-18 09:11:20 +00:00
Juanma Barranquero
bc0ede3568
Whitespace change.
2006-12-18 08:52:27 +00:00
Juanma Barranquero
f6e22881e2
(Fkill_buffer): Doc fix.
...
(syms_of_buffer) <kill-buffer-query-functions>: Doc fix.
2006-12-17 11:54:10 +00:00
Juanma Barranquero
fc96125678
(syms_of_buffer) <cursor-in-non-selected-windows, line-spacing, left-margin,
...
default-scroll-up-aggressively, default-scroll-down-aggressively>: Doc fixes.
2006-12-11 15:43:47 +00:00
Juanma Barranquero
0493af6f9b
(syms_of_buffer) <default-major-mode>: Doc fix.
2006-12-10 23:10:49 +00:00
Juanma Barranquero
b4c4f2f4d1
(syms_of_buffer) <buffer-undo-list>: Doc fix.
2006-11-24 16:35:22 +00:00
Juri Linkov
474198601d
(syms_of_buffer): Reorder coding systems in the
...
docstring of %z to the real order displayed in the modeline.
2006-09-29 21:15:25 +00:00
Chong Yidong
12bd42bee5
Minor doc fix.
2006-09-01 13:35:11 +00:00
Chong Yidong
3e1451520b
* buffer.h (struct buffer_text): New field chars_modiff.
...
(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.
2006-09-01 13:28:13 +00:00
Kim F. Storm
8929fd8784
(Fset_buffer_multibyte): Simplify; use list3.
2006-08-25 23:33:44 +00:00
Richard M. Stallman
611ac52147
(Fswitch_to_buffer): Fix previous change.
2006-08-25 21:10:26 +00:00
Nick Roberts
fab45703d3
(Fswitch_to_buffer): Move buffer to front of
...
buffer-alist if necessary.
2006-08-24 20:40:53 +00:00
Kim F. Storm
38babc072d
2006-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
...
(Fset_buffer_multibyte): Record proper undo entry.
2006-08-22 09:25:59 +00:00
Chong Yidong
43ed3b8da0
* buffer.c (Vchange_major_mode_hook, Qchange_major_mode_hook): New vars.
...
(Fkill_all_local_variables): Use it.
(syms_of_buffer): Defvar it.
2006-08-06 14:22:24 +00:00
Kim F. Storm
4c4dc0b09b
(Fbuffer_local_value, Fbarf_if_buffer_read_only):
...
Use xsignal1.
2006-07-18 13:25:47 +00:00
Juri Linkov
dafbe726b8
(mode-line-format): Fix docstring.
2006-05-25 21:20:19 +00:00
Richard M. Stallman
63af60550b
(syms_of_buffer, Fmake_overlay): Doc fixes.
2006-05-21 21:11:48 +00:00
Richard M. Stallman
624d267858
(Fprevious_overlay_change, Fnext_overlay_change): Doc fixes.
2006-05-17 22:26:51 +00:00
Chong Yidong
e2bcf94d93
buffer.c: Revert last change.
2006-02-25 23:33:57 +00:00
Chong Yidong
7d63db9802
* buffer.c (Foverlay_put): Mark buffer as changed.
2006-02-25 23:32:19 +00:00
Kim F. Storm
18700091b0
(modify_overlay): Force redisplay if we modify an
...
overlay at the end of the buffer.
2006-02-24 23:31:26 +00:00
Kim F. Storm
c6a46372a3
(init_buffer_once): Set dummy default values for
...
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.
2006-02-20 22:14:06 +00:00
Thien-Thi Nguyen
aaef169dc6
Update years in copyright notice; nfc.
2006-02-06 15:23:23 +00:00
Ken Raeburn
09706e1fc4
(Fkill_buffer): Avoid dangerous side effects in NILP argument.
2005-12-06 07:37:47 +00:00
Károly Lőrentey
6ad0f04d22
(Fpop_to_buffer): Remove superfluous call to record_buffer.
2005-11-30 13:18:56 +00:00
Kim F. Storm
54622f3318
(clone_per_buffer_values): Remove unused var tem.
...
(init_buffer): Remove unused vars dotstat, pwdstat.
2005-10-20 15:02:52 +00:00
Romain Francoise
b639c9be35
(init_buffer): Rename rc' to len' for clarity.
2005-10-12 10:14:41 +00:00
Romain Francoise
f996237104
(init_buffer): Fix typos.
2005-09-10 20:05:02 +00:00
Romain Francoise
156bdb4130
(init_buffer): Grow buffer to add directory separator
...
and terminal zero.
2005-09-10 19:55:28 +00:00
Eli Zaretskii
a17b5ed1a9
(init_buffer): Fix error message for failed call to get_current_dir_name.
...
(get_current_dir_name): Remove prototype.
2005-09-10 14:05:17 +00:00
Eli Zaretskii
01537133a0
(init_buffer): Use get_current_dir_name.
2005-09-10 11:30:06 +00:00
Thien-Thi Nguyen
0b5538bd85
Update years in copyright notice; nfc.
2005-08-07 12:33:19 +00:00
Juanma Barranquero
b8dc613f45
(syms_of_buffer) <cursor-type>: Doc fix.
2005-07-21 16:06:33 +00:00
Juri Linkov
e5f95d5ca4
(scroll-up-aggressively, scroll-down-aggressively): Delete duplicate words.
2005-07-18 16:32:35 +00:00
Richard M. Stallman
a625ee20c8
(Fmake_overlay): Doc fix.
2005-07-17 03:47:19 +00:00
Lute Kamstra
4fc5845fe8
Update FSF's address.
2005-07-04 16:49:24 +00:00
Richard M. Stallman
b4234f4ce6
Finish previous change.
2005-06-17 21:22:14 +00:00
Richard M. Stallman
398f0da507
(syms_of_buffer) <cursor-type>: Doc fix.
2005-06-17 13:59:11 +00:00