aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorMiles Bader2006-02-22 06:54:10 +0000
committerMiles Bader2006-02-22 06:54:10 +0000
commitb434f199dbbc2694a69538ee95e5e583f6357f71 (patch)
treeea87d2540063659d9cfdb24462bb4c0336a6ec47 /src/buffer.c
parent9d826e0eaf8a4e2f1cf5aac74d6b02ccc393af8d (diff)
parenta1b24e137f75b9f5fdbd5526947a70c462c5e5bf (diff)
downloademacs-b434f199dbbc2694a69538ee95e5e583f6357f71.tar.gz
emacs-b434f199dbbc2694a69538ee95e5e583f6357f71.zip
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-21
Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 97-112) - Update from CVS - Merge from erc--emacs--0 - Update from CVS: src/regex.c (extend_range_table_work_area): Fix typo. - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 37) - Update from CVS
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 4dce7c40686..e6f93726f5a 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5009,6 +5009,8 @@ init_buffer_once ()
5009 buffer_defaults.vertical_scroll_bar_type = Qt; 5009 buffer_defaults.vertical_scroll_bar_type = Qt;
5010 buffer_defaults.indicate_empty_lines = Qnil; 5010 buffer_defaults.indicate_empty_lines = Qnil;
5011 buffer_defaults.indicate_buffer_boundaries = Qnil; 5011 buffer_defaults.indicate_buffer_boundaries = Qnil;
5012 buffer_defaults.fringe_indicator_alist = Qnil;
5013 buffer_defaults.fringe_cursor_alist = Qnil;
5012 buffer_defaults.scroll_up_aggressively = Qnil; 5014 buffer_defaults.scroll_up_aggressively = Qnil;
5013 buffer_defaults.scroll_down_aggressively = Qnil; 5015 buffer_defaults.scroll_down_aggressively = Qnil;
5014 buffer_defaults.display_time = Qnil; 5016 buffer_defaults.display_time = Qnil;
@@ -5080,6 +5082,8 @@ init_buffer_once ()
5080 XSETFASTINT (buffer_local_flags.vertical_scroll_bar_type, idx); ++idx; 5082 XSETFASTINT (buffer_local_flags.vertical_scroll_bar_type, idx); ++idx;
5081 XSETFASTINT (buffer_local_flags.indicate_empty_lines, idx); ++idx; 5083 XSETFASTINT (buffer_local_flags.indicate_empty_lines, idx); ++idx;
5082 XSETFASTINT (buffer_local_flags.indicate_buffer_boundaries, idx); ++idx; 5084 XSETFASTINT (buffer_local_flags.indicate_buffer_boundaries, idx); ++idx;
5085 XSETFASTINT (buffer_local_flags.fringe_indicator_alist, idx); ++idx;
5086 XSETFASTINT (buffer_local_flags.fringe_cursor_alist, idx); ++idx;
5083 XSETFASTINT (buffer_local_flags.scroll_up_aggressively, idx); ++idx; 5087 XSETFASTINT (buffer_local_flags.scroll_up_aggressively, idx); ++idx;
5084 XSETFASTINT (buffer_local_flags.scroll_down_aggressively, idx); ++idx; 5088 XSETFASTINT (buffer_local_flags.scroll_down_aggressively, idx); ++idx;
5085 XSETFASTINT (buffer_local_flags.header_line_format, idx); ++idx; 5089 XSETFASTINT (buffer_local_flags.header_line_format, idx); ++idx;
@@ -5373,6 +5377,16 @@ This is the same as (default-value 'indicate-empty-lines). */);
5373 doc: /* Default value of `indicate-buffer-boundaries' for buffers that don't override it. 5377 doc: /* Default value of `indicate-buffer-boundaries' for buffers that don't override it.
5374This is the same as (default-value 'indicate-buffer-boundaries). */); 5378This is the same as (default-value 'indicate-buffer-boundaries). */);
5375 5379
5380 DEFVAR_LISP_NOPRO ("default-fringe-indicator-alist",
5381 &buffer_defaults.fringe_indicator_alist,
5382 doc: /* Default value of `fringe-indicator-alist' for buffers that don't override it.
5383This is the same as (default-value 'fringe-indicator-alist'). */);
5384
5385 DEFVAR_LISP_NOPRO ("default-fringe-cursor-alist",
5386 &buffer_defaults.fringe_cursor_alist,
5387 doc: /* Default value of `fringe-cursor-alist' for buffers that don't override it.
5388This is the same as (default-value 'fringe-cursor-alist'). */);
5389
5376 DEFVAR_LISP_NOPRO ("default-scroll-up-aggressively", 5390 DEFVAR_LISP_NOPRO ("default-scroll-up-aggressively",
5377 &buffer_defaults.scroll_up_aggressively, 5391 &buffer_defaults.scroll_up_aggressively,
5378 doc: /* Default value of `scroll-up-aggressively'. 5392 doc: /* Default value of `scroll-up-aggressively'.
@@ -5718,6 +5732,40 @@ left fringe, the bottom angle bitmap in right fringe, and both arrow
5718bitmaps in right fringe. To show just the angle bitmaps in the left 5732bitmaps in right fringe. To show just the angle bitmaps in the left
5719fringe, but no arrow bitmaps, use ((top . left) (bottom . left)). */); 5733fringe, but no arrow bitmaps, use ((top . left) (bottom . left)). */);
5720 5734
5735 DEFVAR_PER_BUFFER ("fringe-indicator-alist",
5736 &current_buffer->fringe_indicator_alist, Qnil,
5737 doc: /* *Mapping from logical to physical fringe indicator bitmaps.
5738The value is an alist where each element (INDICATOR . BITMAPS)
5739specifies the fringe bitmaps used to display a specific logical
5740fringe indicator.
5741
5742INDICATOR specifies the logical indicator type which is one of the
5743following symbols: `truncation' , `continuation', `overlay-arrow',
5744`top', `bottom', `up', `down', `one-line', `empty-line', or `unknown'.
5745
5746BITMAPS is list of symbols (LEFT RIGHT [LEFT1 RIGHT1]) which specifies
5747the actual bitmap shown in the left or right fringe for the logical
5748indicator. LEFT and RIGHT are the bitmaps shown in the left and/or
5749right fringe for the specific indicator. The LEFT1 or RIGHT1 bitmaps
5750are used only for the `bottom' and `one-line' indicators when the last
5751(only) line in has no final newline. BITMAPS may also be a single
5752symbol which is used in both left and right fringes. */);
5753
5754 DEFVAR_PER_BUFFER ("fringe-cursor-alist",
5755 &current_buffer->fringe_cursor_alist, Qnil,
5756 doc: /* *Mapping from logical to physical fringe cursor bitmaps.
5757The value is an alist where each element (CURSOR . BITMAP)
5758specifies the fringe bitmaps used to display a specific logical
5759cursor type in the fringe.
5760
5761CURSOR specifies the logical cursor type which is one of the following
5762symbols: `box' , `hollow', `bar', `hbar', or `hollow-small'. The last
5763one is used to show a hollow cursor on narrow lines display lines
5764where the normal hollow cursor will not fit.
5765
5766BITMAP is the corresponding fringe bitmap shown for the logical
5767cursor type. */);
5768
5721 DEFVAR_PER_BUFFER ("scroll-up-aggressively", 5769 DEFVAR_PER_BUFFER ("scroll-up-aggressively",
5722 &current_buffer->scroll_up_aggressively, Qnil, 5770 &current_buffer->scroll_up_aggressively, Qnil,
5723 doc: /* How far to scroll windows upward. 5771 doc: /* How far to scroll windows upward.