aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorKaroly Lorentey2006-02-21 15:57:00 +0000
committerKaroly Lorentey2006-02-21 15:57:00 +0000
commit36b98f827848d2b1ece6aee7a372902e78120e98 (patch)
tree51d7af230b08c05b1733c11b89d27aadd3b8dda1 /src/buffer.c
parent0383bfd7963905724df93bed01ddeb3b7064222e (diff)
parent8ea094cffae04a654ddb76700fa86fa7e8d03eef (diff)
downloademacs-36b98f827848d2b1ece6aee7a372902e78120e98.tar.gz
emacs-36b98f827848d2b1ece6aee7a372902e78120e98.zip
Merged from emacs@sv.gnu.org
Patches applied: * emacs@sv.gnu.org/emacs--devo--0--patch-105 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-106 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-107 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-108 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-109 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-110 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-37 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-516
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 dae07edf359..e1caaac5f89 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5023,6 +5023,8 @@ init_buffer_once ()
5023 buffer_defaults.vertical_scroll_bar_type = Qt; 5023 buffer_defaults.vertical_scroll_bar_type = Qt;
5024 buffer_defaults.indicate_empty_lines = Qnil; 5024 buffer_defaults.indicate_empty_lines = Qnil;
5025 buffer_defaults.indicate_buffer_boundaries = Qnil; 5025 buffer_defaults.indicate_buffer_boundaries = Qnil;
5026 buffer_defaults.fringe_indicator_alist = Qnil;
5027 buffer_defaults.fringe_cursor_alist = Qnil;
5026 buffer_defaults.scroll_up_aggressively = Qnil; 5028 buffer_defaults.scroll_up_aggressively = Qnil;
5027 buffer_defaults.scroll_down_aggressively = Qnil; 5029 buffer_defaults.scroll_down_aggressively = Qnil;
5028 buffer_defaults.display_time = Qnil; 5030 buffer_defaults.display_time = Qnil;
@@ -5094,6 +5096,8 @@ init_buffer_once ()
5094 XSETFASTINT (buffer_local_flags.vertical_scroll_bar_type, idx); ++idx; 5096 XSETFASTINT (buffer_local_flags.vertical_scroll_bar_type, idx); ++idx;
5095 XSETFASTINT (buffer_local_flags.indicate_empty_lines, idx); ++idx; 5097 XSETFASTINT (buffer_local_flags.indicate_empty_lines, idx); ++idx;
5096 XSETFASTINT (buffer_local_flags.indicate_buffer_boundaries, idx); ++idx; 5098 XSETFASTINT (buffer_local_flags.indicate_buffer_boundaries, idx); ++idx;
5099 XSETFASTINT (buffer_local_flags.fringe_indicator_alist, idx); ++idx;
5100 XSETFASTINT (buffer_local_flags.fringe_cursor_alist, idx); ++idx;
5097 XSETFASTINT (buffer_local_flags.scroll_up_aggressively, idx); ++idx; 5101 XSETFASTINT (buffer_local_flags.scroll_up_aggressively, idx); ++idx;
5098 XSETFASTINT (buffer_local_flags.scroll_down_aggressively, idx); ++idx; 5102 XSETFASTINT (buffer_local_flags.scroll_down_aggressively, idx); ++idx;
5099 XSETFASTINT (buffer_local_flags.header_line_format, idx); ++idx; 5103 XSETFASTINT (buffer_local_flags.header_line_format, idx); ++idx;
@@ -5387,6 +5391,16 @@ This is the same as (default-value 'indicate-empty-lines). */);
5387 doc: /* Default value of `indicate-buffer-boundaries' for buffers that don't override it. 5391 doc: /* Default value of `indicate-buffer-boundaries' for buffers that don't override it.
5388This is the same as (default-value 'indicate-buffer-boundaries). */); 5392This is the same as (default-value 'indicate-buffer-boundaries). */);
5389 5393
5394 DEFVAR_LISP_NOPRO ("default-fringe-indicator-alist",
5395 &buffer_defaults.fringe_indicator_alist,
5396 doc: /* Default value of `fringe-indicator-alist' for buffers that don't override it.
5397This is the same as (default-value 'fringe-indicator-alist'). */);
5398
5399 DEFVAR_LISP_NOPRO ("default-fringe-cursor-alist",
5400 &buffer_defaults.fringe_cursor_alist,
5401 doc: /* Default value of `fringe-cursor-alist' for buffers that don't override it.
5402This is the same as (default-value 'fringe-cursor-alist'). */);
5403
5390 DEFVAR_LISP_NOPRO ("default-scroll-up-aggressively", 5404 DEFVAR_LISP_NOPRO ("default-scroll-up-aggressively",
5391 &buffer_defaults.scroll_up_aggressively, 5405 &buffer_defaults.scroll_up_aggressively,
5392 doc: /* Default value of `scroll-up-aggressively'. 5406 doc: /* Default value of `scroll-up-aggressively'.
@@ -5732,6 +5746,40 @@ left fringe, the bottom angle bitmap in right fringe, and both arrow
5732bitmaps in right fringe. To show just the angle bitmaps in the left 5746bitmaps in right fringe. To show just the angle bitmaps in the left
5733fringe, but no arrow bitmaps, use ((top . left) (bottom . left)). */); 5747fringe, but no arrow bitmaps, use ((top . left) (bottom . left)). */);
5734 5748
5749 DEFVAR_PER_BUFFER ("fringe-indicator-alist",
5750 &current_buffer->fringe_indicator_alist, Qnil,
5751 doc: /* *Mapping from logical to physical fringe indicator bitmaps.
5752The value is an alist where each element (INDICATOR . BITMAPS)
5753specifies the fringe bitmaps used to display a specific logical
5754fringe indicator.
5755
5756INDICATOR specifies the logical indicator type which is one of the
5757following symbols: `truncation' , `continuation', `overlay-arrow',
5758`top', `bottom', `up', `down', `one-line', `empty-line', or `unknown'.
5759
5760BITMAPS is list of symbols (LEFT RIGHT [LEFT1 RIGHT1]) which specifies
5761the actual bitmap shown in the left or right fringe for the logical
5762indicator. LEFT and RIGHT are the bitmaps shown in the left and/or
5763right fringe for the specific indicator. The LEFT1 or RIGHT1 bitmaps
5764are used only for the `bottom' and `one-line' indicators when the last
5765(only) line in has no final newline. BITMAPS may also be a single
5766symbol which is used in both left and right fringes. */);
5767
5768 DEFVAR_PER_BUFFER ("fringe-cursor-alist",
5769 &current_buffer->fringe_cursor_alist, Qnil,
5770 doc: /* *Mapping from logical to physical fringe cursor bitmaps.
5771The value is an alist where each element (CURSOR . BITMAP)
5772specifies the fringe bitmaps used to display a specific logical
5773cursor type in the fringe.
5774
5775CURSOR specifies the logical cursor type which is one of the following
5776symbols: `box' , `hollow', `bar', `hbar', or `hollow-small'. The last
5777one is used to show a hollow cursor on narrow lines display lines
5778where the normal hollow cursor will not fit.
5779
5780BITMAP is the corresponding fringe bitmap shown for the logical
5781cursor type. */);
5782
5735 DEFVAR_PER_BUFFER ("scroll-up-aggressively", 5783 DEFVAR_PER_BUFFER ("scroll-up-aggressively",
5736 &current_buffer->scroll_up_aggressively, Qnil, 5784 &current_buffer->scroll_up_aggressively, Qnil,
5737 doc: /* How far to scroll windows upward. 5785 doc: /* How far to scroll windows upward.