aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (Fset_buffer_multibyte, Fset_buffer_multibyte): FixDave Love2002-09-051-2/+2
| | | | type error.
* (Qas, Qmake, Qto): New variables.Kenichi Handa2002-07-311-11/+65
| | | | | (Fset_buffer_multibyte): New optional arg METHOD. Caller changed. (syms_of_buffer): Intern and staticpro Qas, Qmake, and Qto.
* (emacs_strerror): Declare.Dave Love2002-05-171-9/+23
| | | | | (MMAP_ALLOCATED_P, mmap_enlarge, syms_of_buffer): Import changes from trunk.
* (Fset_buffer_multibyte): Convert 8-bit bytes toKenichi Handa2002-05-141-1/+2
| | | | multibyte form correctly.
* (Fset_buffer_multibyte): Fix 8-bit char handling.Kenichi Handa2002-05-071-1/+2
|
* Include "character.h" instead of "charset.h", don't includeKenichi Handa2002-03-011-10/+15
| | | | | "coding.h". (Fset_buffer_multibyte): Adjuted for UTF-8.
* (syms_of_buffer): Doc fixes for scroll-...-aggressively.Richard M. Stallman2002-01-261-4/+4
|
* (Fkill_all_local_variables): Increment `update_mode_lines' only once.Pavel Janík2002-01-151-4/+0
|
* (reset_buffer): Initialize `display_error_modiff'.Richard M. Stallman2001-12-161-0/+2
|
* (Fkill_buffer): Use Frun_hooks, not Vrun_hooks.Richard M. Stallman2001-11-261-2/+1
|
* (syms_of_buffer): Doc fixes.Richard M. Stallman2001-11-141-17/+19
|
* (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.