1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 00:31:01 -08:00
Commit graph

387 commits

Author SHA1 Message Date
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
Gerd Moellmann
2ab62c6c94 (syms_of_buffer) <header-line-format>: Doc fix. 2001-03-07 14:15:25 +00:00
Gerd Moellmann
09a22085f4 (mouse_face_overlay_overlaps): New function. 2001-03-06 15:28:48 +00:00
Gerd Moellmann
d57b83b374 (Fset_buffer_modified_p): Set buffer's
prevent_redisplay_optimizations_p flag.
2001-01-16 14:21:59 +00:00
Gerd Moellmann
933bfda185 (Fkill_buffer): Don't Fset_buffer when testing if
the buffer is the sole visible buffer when in the mini-buffer.
2000-12-12 15:29:00 +00:00
Gerd Moellmann
1dd6a7adbf (Fmake_indirect_buffer): Don't treat nil as a
buffer object.
2000-11-22 22:33:55 +00:00
Gerd Moellmann
77270fac61 (Fkill_buffer): Notice if the buffer to kill is the
sole visible buffer when we're currently in the mini-buffer, and
give up if so.
2000-11-21 20:41:11 +00:00
Gerd Moellmann
1a15cca02c (mmap_free_1): Avoid a compiler warning. 2000-11-21 12:33:01 +00:00
Gerd Moellmann
09dfdf85ac (MAP_FAILED): Define it as `((void *) -1)' if it's
not defined in mman.h.
2000-11-20 17:24:36 +00:00
Gerd Moellmann
edaa9aed5a (mmap_enlarge): Don't print a message on stderr
if mapping new memory at the end of the existing region fails.
2000-11-18 15:51:00 +00:00
Miles Bader
1d5f4c1de4 (overlays_at): Only let CHANGE_REQ inhibit an assignment of startpos to
prev when startpos == pos.
2000-10-25 07:30:21 +00:00
Dave Love
15e7873af5 Include stdio.h. 2000-09-25 18:18:31 +00:00
Dave Love
815add8485 (alloc_buffer_text): Fix xmalloc call. 2000-09-14 19:39:11 +00:00