aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorMiles Bader2006-06-07 18:05:10 +0000
committerMiles Bader2006-06-07 18:05:10 +0000
commitb883cdb2fefa8ea9c3b0d82eba7a9ee792f871bb (patch)
treede3804210a8cd955e0d3b9abc15679480930bc82 /src/buffer.c
parent885b7d0991bd4b4b8f4bd1d3cd21c18a697bbce2 (diff)
parent26c9afc3239e18b03537faaea33e3e82e28099e6 (diff)
downloademacs-b883cdb2fefa8ea9c3b0d82eba7a9ee792f871bb.tar.gz
emacs-b883cdb2fefa8ea9c3b0d82eba7a9ee792f871bb.zip
Merge from emacs--devo--0
Patches applied: * emacs--devo--0 (patch 285-296) - Update from CVS - Merge from gnus--rel--5.10 - Update from CVS: admin/FOR-RELEASE: Update refcard section. * gnus--rel--5.10 (patch 102-104) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-64
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c21
1 files changed, 12 insertions, 9 deletions
diff --git a/src/buffer.c b/src/buffer.c
index e4d846c8093..5bdfe737767 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -2481,10 +2481,10 @@ swap_out_buffer_local_variables (b)
2481 Return the number found, and store them in a vector in *VEC_PTR. 2481 Return the number found, and store them in a vector in *VEC_PTR.
2482 Store in *LEN_PTR the size allocated for the vector. 2482 Store in *LEN_PTR the size allocated for the vector.
2483 Store in *NEXT_PTR the next position after POS where an overlay starts, 2483 Store in *NEXT_PTR the next position after POS where an overlay starts,
2484 or ZV if there are no more overlays. 2484 or ZV if there are no more overlays between POS and ZV.
2485 Store in *PREV_PTR the previous position before POS where an overlay ends, 2485 Store in *PREV_PTR the previous position before POS where an overlay ends,
2486 or where an overlay starts which ends at or after POS; 2486 or where an overlay starts which ends at or after POS;
2487 or BEGV if there are no such overlays. 2487 or BEGV if there are no such overlays from BEGV to POS.
2488 NEXT_PTR and/or PREV_PTR may be 0, meaning don't store that info. 2488 NEXT_PTR and/or PREV_PTR may be 0, meaning don't store that info.
2489 2489
2490 *VEC_PTR and *LEN_PTR should contain a valid vector and size 2490 *VEC_PTR and *LEN_PTR should contain a valid vector and size
@@ -3570,10 +3570,10 @@ If omitted, BUFFER defaults to the current buffer.
3570BEG and END may be integers or markers. 3570BEG and END may be integers or markers.
3571The fourth arg FRONT-ADVANCE, if non-nil, makes the marker 3571The fourth arg FRONT-ADVANCE, if non-nil, makes the marker
3572for the front of the overlay advance when text is inserted there 3572for the front of the overlay advance when text is inserted there
3573(which means the text *is not* included in the overlay). 3573\(which means the text *is not* included in the overlay).
3574The fifth arg REAR-ADVANCE, if non-nil, makes the marker 3574The fifth arg REAR-ADVANCE, if non-nil, makes the marker
3575for the rear of the overlay advance when text is inserted there 3575for the rear of the overlay advance when text is inserted there
3576(which means the text *is* included in the overlay). */) 3576\(which means the text *is* included in the overlay). */)
3577 (beg, end, buffer, front_advance, rear_advance) 3577 (beg, end, buffer, front_advance, rear_advance)
3578 Lisp_Object beg, end, buffer; 3578 Lisp_Object beg, end, buffer;
3579 Lisp_Object front_advance, rear_advance; 3579 Lisp_Object front_advance, rear_advance;
@@ -3955,7 +3955,8 @@ or between BEG and END. */)
3955DEFUN ("next-overlay-change", Fnext_overlay_change, Snext_overlay_change, 3955DEFUN ("next-overlay-change", Fnext_overlay_change, Snext_overlay_change,
3956 1, 1, 0, 3956 1, 1, 0,
3957 doc: /* Return the next position after POS where an overlay starts or ends. 3957 doc: /* Return the next position after POS where an overlay starts or ends.
3958If there are no more overlay boundaries after POS, return (point-max). */) 3958If there are no overlay boundaries from POS to (point-max),
3959the value is (point-max). */)
3959 (pos) 3960 (pos)
3960 Lisp_Object pos; 3961 Lisp_Object pos;
3961{ 3962{
@@ -3996,7 +3997,8 @@ If there are no more overlay boundaries after POS, return (point-max). */)
3996DEFUN ("previous-overlay-change", Fprevious_overlay_change, 3997DEFUN ("previous-overlay-change", Fprevious_overlay_change,
3997 Sprevious_overlay_change, 1, 1, 0, 3998 Sprevious_overlay_change, 1, 1, 0,
3998 doc: /* Return the previous position before POS where an overlay starts or ends. 3999 doc: /* Return the previous position before POS where an overlay starts or ends.
3999If there are no more overlay boundaries before POS, return (point-min). */) 4000If there are no overlay boundaries from (point-min) to POS,
4001the value is (point-min). */)
4000 (pos) 4002 (pos)
4001 Lisp_Object pos; 4003 Lisp_Object pos;
4002{ 4004{
@@ -5454,10 +5456,11 @@ A string is printed verbatim in the mode line except for %-constructs:
5454 %p -- print percent of buffer above top of window, or Top, Bot or All. 5456 %p -- print percent of buffer above top of window, or Top, Bot or All.
5455 %P -- print percent of buffer above bottom of window, perhaps plus Top, 5457 %P -- print percent of buffer above bottom of window, perhaps plus Top,
5456 or print Bottom or All. 5458 or print Bottom or All.
5457 %m -- print the mode name.
5458 %n -- print Narrow if appropriate. 5459 %n -- print Narrow if appropriate.
5460 %t -- visited file is text or binary (if OS supports this distinction).
5459 %z -- print mnemonics of buffer, terminal, and keyboard coding systems. 5461 %z -- print mnemonics of buffer, terminal, and keyboard coding systems.
5460 %Z -- like %z, but including the end-of-line format. 5462 %Z -- like %z, but including the end-of-line format.
5463 %e -- print error message about full memory.
5461 %[ -- print one [ for each recursive editing level. %] similar. 5464 %[ -- print one [ for each recursive editing level. %] similar.
5462 %% -- print %. %- -- print infinitely many dashes. 5465 %% -- print %. %- -- print infinitely many dashes.
5463Decimal digits after the % specify field width to which to pad. */); 5466Decimal digits after the % specify field width to which to pad. */);
@@ -5753,7 +5756,7 @@ the actual bitmap shown in the left or right fringe for the logical
5753indicator. LEFT and RIGHT are the bitmaps shown in the left and/or 5756indicator. LEFT and RIGHT are the bitmaps shown in the left and/or
5754right fringe for the specific indicator. The LEFT1 or RIGHT1 bitmaps 5757right fringe for the specific indicator. The LEFT1 or RIGHT1 bitmaps
5755are used only for the `bottom' and `one-line' indicators when the last 5758are used only for the `bottom' and `one-line' indicators when the last
5756(only) line in has no final newline. BITMAPS may also be a single 5759\(only) line in has no final newline. BITMAPS may also be a single
5757symbol which is used in both left and right fringes. */); 5760symbol which is used in both left and right fringes. */);
5758 5761
5759 DEFVAR_PER_BUFFER ("fringe-cursor-alist", 5762 DEFVAR_PER_BUFFER ("fringe-cursor-alist",
@@ -6000,7 +6003,7 @@ this variable has no effect; the cursor appears as a hollow box. */);
6000 doc: /* Additional space to put between lines when displaying a buffer. 6003 doc: /* Additional space to put between lines when displaying a buffer.
6001The space is measured in pixels, and put below lines on window systems. 6004The space is measured in pixels, and put below lines on window systems.
6002If value is a floating point number, it specifies the spacing relative 6005If value is a floating point number, it specifies the spacing relative
6003to the default frame line height. */); 6006to the default frame line height. nil means add no extra space. */);
6004 6007
6005 DEFVAR_PER_BUFFER ("cursor-in-non-selected-windows", 6008 DEFVAR_PER_BUFFER ("cursor-in-non-selected-windows",
6006 &current_buffer->cursor_in_non_selected_windows, Qnil, 6009 &current_buffer->cursor_in_non_selected_windows, Qnil,