summaryrefslogtreecommitdiff
path: root/src/buffer.c
Commit message (Collapse)AuthorAgeFilesLines
* (Fbury_buffer): Use braces to follow GNU Coding Standards.Pavel Janík2001-11-091-6/+8
|
* (Fkill_buffer): Don't delete auto save file if buffer is modified.Richard M. Stallman2001-11-061-2/+4
|
* (Fbuffer_local_value): Remove extra args from CHECK_SYMBOL and CHECK_BUFFER.Richard M. Stallman2001-11-051-2/+2
|
* (Fbuffer_local_value): New function.Richard M. Stallman2001-11-051-0/+53
| | | | (syms_of_buffer): defsubr it.
* Update usage of CHECK_ macros (remove unused second argument).Pavel Janík2001-11-021-33/+33
|
* Fix a typo.Gerd Moellmann2001-11-011-1/+1
|
* (selective-display-ellipses): Doc fix.Pavel Janík2001-10-311-1/+1
|
* Reindent DEFUNs and DEFVARs woth doc: keywords.Pavel Janík2001-10-211-67/+67
|
* Change doc-string comments to `new style' [w/`doc:' keyword].Miles Bader2001-10-171-266/+266
|
* (Fset_buffer_major_mode): Use initial-major-mode forGerd Moellmann2001-10-161-5/+14
| | | | *scratch*.
* Avoid (most) uses of XCAR/XCDR as lvalues, for flexibility in experimentingKen Raeburn2001-10-161-15/+15
| | | | with lisp system changes.
* Put doc strings in comments.Pavel Janík2001-10-151-658/+647
|
* (Fbury_buffer): Don't try to remove the buffer from theStefan Monnier2001-10-121-55/+31
| | | | | | 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.
* Include keymap.h.Stefan Monnier2001-10-101-0/+1
|
* Use SYMBOL_VALUE/SET_SYMBOL_VALUE macros instead of accessingGerd Moellmann2001-10-051-7/+7
| | | | symbols' value directly.
* Fix a typo in a comment.Eli Zaretskii2001-09-181-1/+1
|
* (modify_overlay): Don't do nothing if START == END;Gerd Moellmann2001-09-181-11/+16
| | | | | | | 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.
* (syms_of_buffer): Doc fix.Gerd Moellmann2001-09-031-1/+2
|
* (syms_of_buffer) [if 0]: Avoid a warning from GCC 3.0.Eli Zaretskii2001-07-061-1/+1
|
* (copy_overlays): Make ENABLE_CHECKING happy.Stefan Monnier2001-05-311-2/+2
|
* (copy_overlays): New function.Gerd Moellmann2001-05-161-2/+47
| | | | (clone_per_buffer_values): Use it.
* (mouse_face_overlay_overlaps): Fix the computationGerd Moellmann2001-04-251-6/+5
| | | | of the number of overlays to check.
* (syms_of_buffer): Doc fix.Eli Zaretskii2001-03-261-7/+22
|
* (swap_out_buffer_local_variables): CallGerd Moellmann2001-03-151-1/+1
| | | | store_symval_forwarding with BUF null.
* (syms_of_buffer) <header-line-format>: Doc fix.Gerd Moellmann2001-03-071-2/+2
|
* (mouse_face_overlay_overlaps): New function.Gerd Moellmann2001-03-061-1/+35
|
* (Fset_buffer_modified_p): Set buffer'sGerd Moellmann2001-01-161-1/+4
| | | | prevent_redisplay_optimizations_p flag.
* (Fkill_buffer): Don't Fset_buffer when testing ifGerd Moellmann2000-12-121-1/+0
| | | | the buffer is the sole visible buffer when in the mini-buffer.
* (Fmake_indirect_buffer): Don't treat nil as aGerd Moellmann2000-11-221-2/+1
| | | | buffer object.
* (Fkill_buffer): Notice if the buffer to kill is theGerd Moellmann2000-11-211-0/+11
| | | | | sole visible buffer when we're currently in the mini-buffer, and give up if so.
* (mmap_free_1): Avoid a compiler warning.Gerd Moellmann2000-11-211-1/+1
|
* (MAP_FAILED): Define it as `((void *) -1)' if it'sGerd Moellmann2000-11-201-0/+4
| | | | not defined in mman.h.
* (mmap_enlarge): Don't print a message on stderrGerd Moellmann2000-11-181-1/+1
| | | | if mapping new memory at the end of the existing region fails.
* (overlays_at): Only let CHANGE_REQ inhibit an assignment of startpos toMiles Bader2000-10-251-1/+2
| | | | prev when startpos == pos.
* Include stdio.h.Dave Love2000-09-251-0/+1
|
* (alloc_buffer_text): Fix xmalloc call.Dave Love2000-09-141-1/+1
|
* Move allocation with mmap here, from ralloc.c. ChangeGerd Moellmann2000-09-141-18/+549
| | | | | | | | | | | | | conditional compilation on REL_ALLOC_MMAP to USE_MMAP_FOR_BUFFERS. (mmap_alloc, mmap_free, mmap_realloc) [REL_ALLOC_MMAP]: Renamed from former r_alloc_* functions in ralloc.c. (mmap_page_size, mmap_initialized_p) [REL_ALLOC_MMAP]: New variables. (MEM_ALIGN) [REL_ALLOC_MMAP]: New macro. (mmap_init) [REL_ALLOC_MMAP]: New function. (alloc_buffer_text, enlarge_buffer_text, free_buffer_text): New functions replacing macros BUFFER_ALLOC, BUFFER_REALLOC, and BUFFER_FREE.
* (set_buffer_internal_1) [REL_ALLOC_MMAP]: IfGerd Moellmann2000-09-061-0/+11
| | | | buffer's text buffer is null, map new memory.
* (init_buffer) [REL_ALLOC_MMAP]: Map new bufferGerd Moellmann2000-09-061-1/+18
| | | | text buffers if necessary.
* (Fother_buffer): Consider buffers as invisible whenGerd Moellmann2000-09-051-1/+1
| | | | they are displayed in a window on an invisible frame.
* (syms_of_buffer) <scroll-up-aggressively>: Doc fix.Eli Zaretskii2000-08-231-2/+2
| | | | <scroll-down-aggressively>: Likewise.
* Include keyboard.h before frame.h.Andrew Innes2000-08-221-0/+3
|
* (Fget_buffer_create, Fmake_indirect_buffer): AvoidDave Love2000-08-171-2/+3
| | | | INITIALIZE_INTERVAL.
* (overlays_at): Add CHANGE_REQ parameter.Miles Bader2000-08-081-7/+12
| | | | (Foverlays_at, Fnext_overlay_change, Fprevious_overlay_change): Use it.
* (Fprevious_overlay_change): Avoid memory leak.Gerd Moellmann2000-07-211-3/+3
|
* (Fset_buffer_multibyte): Don't make the current buffer as modified ifKenichi Handa2000-06-061-0/+5
| | | | it is originally unmodified.
* (Vbefore_change_function, Vafter_change_function):Dave Love2000-06-021-35/+0
| | | | Variables and their initializations deleted.
* (advance_to_char_boundary): Don't use DEC_POS to find aKenichi Handa2000-05-191-5/+115
| | | | | | apparent char boundary. (Fset_buffer_multibyte): Convert 8-bit characters in the range 0x80..0x9F to/from multibyte form.
* (Fbury_buffer): Avoid trouble from burying a killed buffer.Gerd Moellmann2000-05-191-10/+12
|
* Fix last change.Dave Love2000-05-111-1/+1
|