1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 15:21:51 -08:00
Commit graph

399 commits

Author SHA1 Message Date
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
Ken Raeburn
8dfba85e62 (reset_buffer_local_variables): Delete "#if 0" settings of non-existent fields. 2002-07-16 17:33:42 +00:00
Ken Raeburn
10ceceb87d * buffer.c (Fother_buffer): Use SREF when retrieving a byte from
a string.
2002-07-16 15:48:54 +00:00
Ken Raeburn
ab77f05c7f * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Use it. 2002-07-15 06:54:48 +00:00
Ken Raeburn
d5db40779d Most uses of XSTRING combined with STRING_BYTES or indirection changed to
SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references
left unchanged for now.
2002-07-15 00:01:34 +00:00
Juanma Barranquero
aed1337830 Use macro SPECPDL_INDEX. 2002-07-11 14:18:02 +00:00
Richard M. Stallman
f0bac7deee (Fbuffer_local_value): Store current value into its binding
so we get the up-to-date value for the binding that is loaded.
2002-07-07 10:17:26 +00:00
Richard M. Stallman
6c488ddb79 (Fbury_buffer): Use frames_discard_buffer. 2002-06-26 08:36:25 +00:00
Colin Walters
9a593927e9 (Foverlay_get): Use lookup_char_property. 2002-06-08 20:25:31 +00:00
Ken Raeburn
504322ad23 * buffer.c (fix_overlays_before): Fix list-walking bug in 05-19 change. 2002-06-03 18:03:26 +00:00
Richard M. Stallman
cd8d52361f (syms_of_buffer) <cursor-type>: Doc fix. 2002-05-20 14:51:24 +00:00
Ken Raeburn
5b784cc92c * buffer.c (buffer_slot_type_mismatch): Use XSTRING and
SYMBOL_NAME instead of XSYMBOL and name field.
2002-05-20 08:04:58 +00:00
Ken Raeburn
1138e74218 * buffer.c (fix_overlays_in_range, fix_overlays_before): Don't take the address
of the cdr part of a cons cell; instead, track the parent cell and call
XSETCDR, or set the variable for the head of the list if we haven't started
down the list yet.
2002-05-19 23:12:30 +00:00
Colin Walters
eacdfade34 (syms_of_buffer): Doc fix. 2002-04-23 20:24:25 +00:00
Paul Eggert
314dbe9a7f (init_buffer): Fix PWD comment. 2002-04-23 17:40:36 +00:00
Gerd Moellmann
08327b2269 (MMAP_ALLOCATED_P): New macro to be set from system
configuration files.
(mmap_enlarge): Enlarge mapped regions only if MMAP_ALLOCATED_P
returns 0.
2002-04-16 07:35:02 +00:00
Stefan Monnier
c01d0677ab (syms_of_buffer): Allow non-string `mode-name'. 2002-03-04 23:20:06 +00:00
Eli Zaretskii
31a6cb0651 (syms_of_buffer) <buffer-file-coding-system>: Doc fix. 2002-03-02 11:57:50 +00:00
Richard M. Stallman
6524d9553d (syms_of_buffer): Doc fixes for scroll-...-aggressively. 2002-01-26 23:04:27 +00:00
Pavel Janík
1a6db83a48 (Fkill_all_local_variables): Increment `update_mode_lines' only once. 2002-01-15 07:31:04 +00:00
Richard M. Stallman
0522997db3 (reset_buffer): Initialize `display_error_modiff'. 2001-12-16 20:01:39 +00:00
Richard M. Stallman
f1597a3a85 (Fkill_buffer): Use Frun_hooks, not Vrun_hooks. 2001-11-26 00:07:17 +00:00
Richard M. Stallman
7614d76287 (syms_of_buffer): Doc fixes. 2001-11-14 00:06:50 +00:00
Pavel Janík
a78e0303c9 (Fbury_buffer): Use braces to follow GNU Coding Standards. 2001-11-09 06:49:41 +00:00
Richard M. Stallman
9cf712eb57 (Fkill_buffer): Don't delete auto save file if buffer is modified. 2001-11-06 04:48:15 +00:00
Richard M. Stallman
ae69175b09 (Fbuffer_local_value): Remove extra args from CHECK_SYMBOL and CHECK_BUFFER. 2001-11-05 04:04:09 +00:00
Richard M. Stallman
79aa712d49 (Fbuffer_local_value): New function.
(syms_of_buffer): defsubr it.
2001-11-05 00:10:49 +00:00
Pavel Janík
b782650360 Update usage of CHECK_ macros (remove unused second argument). 2001-11-02 20:46:55 +00:00
Gerd Moellmann
864b90c968 Fix a typo. 2001-11-01 10:23:52 +00:00
Pavel Janík
3f676284d2 (selective-display-ellipses): Doc fix. 2001-10-31 15:04:58 +00:00
Pavel Janík
efc7e75ff0 Reindent DEFUNs and DEFVARs woth doc: keywords. 2001-10-21 08:49:43 +00:00
Miles Bader
7ee72033eb Change doc-string comments to new style' [w/doc:' keyword]. 2001-10-17 03:16:12 +00:00
Gerd Moellmann
71a0f2c6e4 (Fset_buffer_major_mode): Use initial-major-mode for
*scratch*.
2001-10-16 09:21:56 +00:00
Ken Raeburn
f3fbd15535 Avoid (most) uses of XCAR/XCDR as lvalues, for flexibility in experimenting
with lisp system changes.
2001-10-16 09:09:51 +00:00
Pavel Janík
018ba359ab Put doc strings in comments. 2001-10-15 20:52:59 +00:00
Stefan Monnier
c58dab6376 (Fbury_buffer): Don't try to remove the buffer from the
selected window if it's not displayed there.  Handle the case
when the window is dedicated.
(syms_of_buffer): Fix docstrings not to mention "buffer-local" anymore.
2001-10-12 02:01:23 +00:00
Stefan Monnier
e35f6ff793 Include keymap.h. 2001-10-10 16:05:21 +00:00
Gerd Moellmann
f5c1dd0dc5 Use SYMBOL_VALUE/SET_SYMBOL_VALUE macros instead of accessing
symbols' value directly.
2001-10-05 09:49:39 +00:00
Eli Zaretskii
e58c389d2a Fix a typo in a comment. 2001-09-18 13:51:22 +00:00
Gerd Moellmann
26f545d7f8 (modify_overlay): Don't do nothing if START == END;
This can still be a modification, for example when an overlay has
a before-string or after-string.
(Fdelete_overlay): Prevent redisplay optimizations when deleting
an overlay with before-string or after-string.
2001-09-18 12:20:53 +00:00
Gerd Moellmann
79aa538170 (syms_of_buffer): Doc fix. 2001-09-03 08:03:53 +00:00
Eli Zaretskii
36b40a8aa8 (syms_of_buffer) [if 0]: Avoid a warning from GCC 3.0. 2001-07-06 15:38:42 +00:00
Stefan Monnier
db3a49a62e (copy_overlays): Make ENABLE_CHECKING happy. 2001-05-31 01:44:47 +00:00
Gerd Moellmann
04e4cb3a83 (copy_overlays): New function.
(clone_per_buffer_values): Use it.
2001-05-16 12:17:43 +00:00
Gerd Moellmann
bfd8410fc2 (mouse_face_overlay_overlaps): Fix the computation
of the number of overlays to check.
2001-04-25 14:51:11 +00:00
Eli Zaretskii
9948db79dd (syms_of_buffer): Doc fix. 2001-03-26 17:09:00 +00:00
Gerd Moellmann
9b3a7dad95 (swap_out_buffer_local_variables): Call
store_symval_forwarding with BUF null.
2001-03-15 09:43:39 +00:00