Masatake YAMATO
abdb9b8306
* insdel.c (adjust_markers_for_insert): Call fix_start_end_in_overlays.
...
* buffer.c (fix_start_end_in_overlays): Rename fix_overlays_in_range.
* editfns.c (Ftranspose_regions): Likewise.
* lisp.h (top_level): Likewise.
2004-03-25 18:05:29 +00:00
Richard M. Stallman
ae47339f71
(Fpop_to_buffer): Doc fix.
2004-03-04 17:15:13 +00:00
Kim F. Storm
ccbc43315d
(syms_of_buffer): Doc fix for indicate-buffer-boundaries.
2004-02-15 17:39:43 +00:00
Kenichi Handa
fc1d15f69d
(Fset_buffer_multibyte): Fix docstring.
2004-02-05 02:16:36 +00:00
Stefan Monnier
d4f8198baf
(buffer_defaults, buffer_local_symbols): Use DECL_ALIGN.
2004-01-21 04:32:19 +00:00
Kim F. Storm
8e8767f80e
(init_buffer_once): Set buffer_defaults and
...
buffer_local_flags for indicate_buffer_boundaries.
(syms_of_buffer): Defvar_per_buffer it, and defvar_lisp_nopro
default- variable for it.
2004-01-16 18:40:22 +00:00
Richard M. Stallman
d674d13e14
(Fother_buffer): Don't crash if BUF is nil
...
or if its name is nil.
(Fkill_buffer): Don't delete auto-save file
if it's the same as the visited file.
2003-12-28 22:16:57 +00:00
Lute Kamstra
77d31fb4c4
(syms_of_buffer): Document %i' and %I' constructs for
...
`mode-line-format'.
2003-09-08 07:52:23 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Gerd Moellmann
2f297815d7
(Fmove_overlay): Set overlay's next pointer
...
unconditionally.
2003-08-19 12:39:00 +00:00
Stefan Monnier
d4f5719ace
(delete_all_overlays): New function.
2003-07-22 19:02:11 +00:00
Stefan Monnier
27c6b98e3b
(copy_overlays): Use EMACS_INT for positions.
...
(Fswitch_to_buffer): Don't signal an error when switching to the same
buffer in a dedicated window.
2003-07-15 19:32:05 +00:00
Andreas Schwab
2e293742a4
(modify_overlay): Update prototype.
2003-07-11 09:05:18 +00:00
Stefan Monnier
f93ad4cfac
(fix_overlays_before): Fix typo in last commit.
2003-07-09 19:05:41 +00:00
Stefan Monnier
2410d73a13
(overlay_strings, recenter_overlay_lists): Fix typo in eassert in last commit.
...
(unchain_overlay): New function.
(add_overlay_mod_hooklist): Use AREF.
(copy_overlays, reset_buffer, overlays_at, overlays_in)
(overlay_touches_p, overlay_strings, recenter_overlay_lists)
(fix_overlays_in_range, fix_overlays_before, Fmake_overlay)
(Fmove_overlay, Fdelete_overlay, Foverlay_lists)
(report_overlay_modification, evaporate_overlays, init_buffer_once):
Adjust to new type of overlays_(before|after).
2003-07-09 15:10:47 +00:00
Stefan Monnier
a615c6dcea
(report_overlay_modification): Don't run hooks while
...
traversing the list of overlays.
2003-07-08 22:09:23 +00:00
Stefan Monnier
c2d5b10fc3
(reset_buffer, recenter_overlay_lists)
...
(adjust_overlays_for_insert, adjust_overlays_for_delete)
(fix_overlays_in_range, Fmake_overlay, Fmove_overlay)
(evaporate_overlays, init_buffer_once): Update use of overlay_center.
(overlays_at, evaporate_overlays, recenter_overlay_lists)
(overlay_strings, fix_overlays_before): Use EMACS_INT for positions.
2003-07-08 21:47:55 +00:00
Kenichi Handa
b93fb365b3
(Fkill_buffer): Clear charpos cache if necessary.
2003-07-07 01:46:10 +00:00
Stefan Monnier
65745fadd7
(set_buffer_internal_1): Test CONSP for lists.
...
(Fget_buffer_create, Fkill_buffer, Fset_buffer_multibyte): Update to new types.
2003-06-26 23:16:44 +00:00
Stefan Monnier
fd6cfe111f
(init_buffer_once): Make kill-buffer-hook permanent-local.
2003-06-03 13:30:08 +00:00
Kenichi Handa
8d1203eafb
(Fset_buffer_multibyte): Fix previous change.
2003-06-02 00:54:20 +00:00
Kenichi Handa
458c8af4c6
(Fset_buffer_multibyte): Correctly recover a narrowed
...
region when a buffer is changed to unibyte.
2003-06-01 23:28:42 +00:00
Dave Love
d36b182f57
Comment.
2003-05-29 18:36:16 +00:00
Andreas Schwab
20464fdfce
(syms_of_buffer) <default-direction-reversed>: Doc fix.
2003-05-26 22:19:54 +00:00
Stefan Monnier
2664c0bc59
(Fkill_buffer): Remove unused var `list'.
2003-05-25 17:40:27 +00:00
Kim F. Storm
2ad8731a6b
(init_buffer_once): Set buffer_defaults and
...
buffer_local_flags for new buffer-local variables
left_fringe_width, right_fringe_width, fringes_outside_margins,
scroll_bar_width, and vertical_scroll_bar_type.
(syms_of_buffer): Defvar_per_buffer them, and defvar_lisp_nopro
default-* variables for them.
2003-05-24 21:54:43 +00:00
Stefan Monnier
f66cca4e87
(reset_buffer_local_variables): Remove redundant setting.
2003-05-23 18:11:50 +00:00
Stefan Monnier
f1321dc307
(Fselect_window): Add optional arg `norecord'.
2003-05-17 21:17:45 +00:00
Richard M. Stallman
c87426c597
(Foverlay_recenter): Doc fix.
2003-04-16 05:07:38 +00:00
Stefan Monnier
a9b9a78056
(overlays_in): Declare static.
...
(syms_of_buffer) <enable-multibyte-characters>: Use the symbol's
`constant' field rather than the variable's `type' field.
2003-03-25 16:20:38 +00:00
Richard M. Stallman
5b20caf08d
(Fkill_buffer): Use Frun_hook_with_args_until_failure
...
to run kill-buffer-query-functions.
(Qkill_buffer_query_functions): New var.
(syms_of_buffer): Init and staticpro it.
2003-03-03 19:09:40 +00:00
Kenichi Handa
2a2b50a9d8
(Fset_buffer_multibyte): Pay attention to the buffer
...
process only when "subprocesses" is defined.
2003-02-25 02:24:53 +00:00
Kenichi Handa
172f945448
(Fset_buffer_multibyte): If the current buffer has a
...
process, update coding systems for the process.
2003-02-10 07:43:03 +00:00
Juanma Barranquero
177c0ea743
Trailing whitespace deleted.
2003-02-04 14:56:31 +00:00
Richard M. Stallman
5c4930b020
(Fkill_buffer): Call format2 instead of format1.
2003-01-25 19:48:30 +00:00
Richard M. Stallman
4e0692c153
(syms_of_buffer) <scroll-up-aggressively, scroll-down-aggressively>: Doc fixes.
2003-01-06 00:49:20 +00:00
Richard M. Stallman
175e9712b7
(syms_of_buffer) <scroll-up-aggressively, scroll-down-aggressively>: Doc fix.
2002-12-23 18:07:41 +00:00
Richard M. Stallman
1f57cb74f5
(Fget_buffer_create): Call Qucs_set_table_for_input as the last thing.
2002-12-09 20:24:32 +00:00
Dave Love
48265e61f0
(Qucs_set_table_for_input): New.
...
(Fget_buffer_create): Use it.
(Qset_buffer_major_mode_hook): Deleted.
(Fset_buffer_major_mode): Revert previous change.
(init_buffer_once): Intern ucs-set-table-for-input.
(syms_of_buffer): Delete Qset_buffer_major_mode_hook. Add
&Qucs_set_table_for_input.
2002-12-03 10:27:00 +00:00
Richard M. Stallman
9c3eecf372
(syms_of_buffer): Doc fix.
2002-11-15 23:56:10 +00:00
Kim F. Storm
ed4632553c
(syms_of_buffer) <mode-line-format>: Document symbol
...
dependency on `risky-local-variable' and the :propertize form.
2002-11-14 11:44:16 +00:00
Dave Love
609c95d5c1
(Fset_buffer_major_mode): Fix last change.
2002-11-09 12:43:58 +00:00
Dave Love
b8b60362db
(Qset_buffer_major_mode_hook): New.
...
(Fset_buffer_major_mode): Use it.
2002-11-06 20:30:45 +00:00
Dave Love
7273faa10e
Comment.
2002-10-30 19:17:50 +00:00
Stefan Monnier
6d70a280d5
(assoc_ignore_text_properties, Fother_buffer, Fkill_buffer)
...
(call_overlay_mod_hooks): Use CONSP and XCAR/XCDR.
(Fget_buffer_create, advance_to_char_boundary): Use BEG and BEG_BYTE;
2002-10-22 18:57:19 +00:00
Richard M. Stallman
4b0e44fc72
(overlays_at): Handle extending vec uniformly.
...
(overlays_in): Handle extending vec from length 0 as in overlays_at.
2002-08-17 04:53:57 +00:00
Richard M. Stallman
1ac5826d93
(syms_of_buffer) <fill-column>: Doc fix.
2002-08-12 17:25:23 +00:00
Richard M. Stallman
aef466d55e
(Fbuffer_list): Doc fix.
2002-07-21 20:25:32 +00:00
Ken Raeburn
6bcdeb8c24
comment last change
2002-07-21 14:11:55 +00:00
Ken Raeburn
bb63c5c9b8
(mmap_realloc): When shrinking, make sure number of
...
pages is rounded towards zero.
2002-07-21 13:59:00 +00:00