diff options
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c index 5c3d1068d1d..9388025808c 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -4993,6 +4993,8 @@ init_buffer_once () | |||
| 4993 | buffer_defaults.vertical_scroll_bar_type = Qt; | 4993 | buffer_defaults.vertical_scroll_bar_type = Qt; |
| 4994 | buffer_defaults.indicate_empty_lines = Qnil; | 4994 | buffer_defaults.indicate_empty_lines = Qnil; |
| 4995 | buffer_defaults.indicate_buffer_boundaries = Qnil; | 4995 | buffer_defaults.indicate_buffer_boundaries = Qnil; |
| 4996 | buffer_defaults.fringe_indicator_alist = Qnil; | ||
| 4997 | buffer_defaults.fringe_cursor_alist = Qnil; | ||
| 4996 | buffer_defaults.scroll_up_aggressively = Qnil; | 4998 | buffer_defaults.scroll_up_aggressively = Qnil; |
| 4997 | buffer_defaults.scroll_down_aggressively = Qnil; | 4999 | buffer_defaults.scroll_down_aggressively = Qnil; |
| 4998 | buffer_defaults.display_time = Qnil; | 5000 | buffer_defaults.display_time = Qnil; |
| @@ -5064,6 +5066,8 @@ init_buffer_once () | |||
| 5064 | XSETFASTINT (buffer_local_flags.vertical_scroll_bar_type, idx); ++idx; | 5066 | XSETFASTINT (buffer_local_flags.vertical_scroll_bar_type, idx); ++idx; |
| 5065 | XSETFASTINT (buffer_local_flags.indicate_empty_lines, idx); ++idx; | 5067 | XSETFASTINT (buffer_local_flags.indicate_empty_lines, idx); ++idx; |
| 5066 | XSETFASTINT (buffer_local_flags.indicate_buffer_boundaries, idx); ++idx; | 5068 | XSETFASTINT (buffer_local_flags.indicate_buffer_boundaries, idx); ++idx; |
| 5069 | XSETFASTINT (buffer_local_flags.fringe_indicator_alist, idx); ++idx; | ||
| 5070 | XSETFASTINT (buffer_local_flags.fringe_cursor_alist, idx); ++idx; | ||
| 5067 | XSETFASTINT (buffer_local_flags.scroll_up_aggressively, idx); ++idx; | 5071 | XSETFASTINT (buffer_local_flags.scroll_up_aggressively, idx); ++idx; |
| 5068 | XSETFASTINT (buffer_local_flags.scroll_down_aggressively, idx); ++idx; | 5072 | XSETFASTINT (buffer_local_flags.scroll_down_aggressively, idx); ++idx; |
| 5069 | XSETFASTINT (buffer_local_flags.header_line_format, idx); ++idx; | 5073 | XSETFASTINT (buffer_local_flags.header_line_format, idx); ++idx; |
| @@ -5357,6 +5361,16 @@ This is the same as (default-value 'indicate-empty-lines). */); | |||
| 5357 | doc: /* Default value of `indicate-buffer-boundaries' for buffers that don't override it. | 5361 | doc: /* Default value of `indicate-buffer-boundaries' for buffers that don't override it. |
| 5358 | This is the same as (default-value 'indicate-buffer-boundaries). */); | 5362 | This is the same as (default-value 'indicate-buffer-boundaries). */); |
| 5359 | 5363 | ||
| 5364 | DEFVAR_LISP_NOPRO ("default-fringe-indicator-alist", | ||
| 5365 | &buffer_defaults.fringe_indicator_alist, | ||
| 5366 | doc: /* Default value of `fringe-indicator-alist' for buffers that don't override it. | ||
| 5367 | This is the same as (default-value 'fringe-indicator-alist'). */); | ||
| 5368 | |||
| 5369 | DEFVAR_LISP_NOPRO ("default-fringe-cursor-alist", | ||
| 5370 | &buffer_defaults.fringe_cursor_alist, | ||
| 5371 | doc: /* Default value of `fringe-cursor-alist' for buffers that don't override it. | ||
| 5372 | This is the same as (default-value 'fringe-cursor-alist'). */); | ||
| 5373 | |||
| 5360 | DEFVAR_LISP_NOPRO ("default-scroll-up-aggressively", | 5374 | DEFVAR_LISP_NOPRO ("default-scroll-up-aggressively", |
| 5361 | &buffer_defaults.scroll_up_aggressively, | 5375 | &buffer_defaults.scroll_up_aggressively, |
| 5362 | doc: /* Default value of `scroll-up-aggressively'. | 5376 | doc: /* Default value of `scroll-up-aggressively'. |
| @@ -5702,6 +5716,40 @@ left fringe, the bottom angle bitmap in right fringe, and both arrow | |||
| 5702 | bitmaps in right fringe. To show just the angle bitmaps in the left | 5716 | bitmaps in right fringe. To show just the angle bitmaps in the left |
| 5703 | fringe, but no arrow bitmaps, use ((top . left) (bottom . left)). */); | 5717 | fringe, but no arrow bitmaps, use ((top . left) (bottom . left)). */); |
| 5704 | 5718 | ||
| 5719 | DEFVAR_PER_BUFFER ("fringe-indicator-alist", | ||
| 5720 | ¤t_buffer->fringe_indicator_alist, Qnil, | ||
| 5721 | doc: /* *Mapping from logical to physical fringe indicator bitmaps. | ||
| 5722 | The value is an alist where each element (INDICATOR . BITMAPS) | ||
| 5723 | specifies the fringe bitmaps used to display a specific logical | ||
| 5724 | fringe indicator. | ||
| 5725 | |||
| 5726 | INDICATOR specifies the logical indicator type which is one of the | ||
| 5727 | following symbols: `truncation' , `continuation', `overlay-arrow', | ||
| 5728 | `top', `bottom', `up', `down', `one-line', `empty-line', or `unknown'. | ||
| 5729 | |||
| 5730 | BITMAPS is list of symbols (LEFT RIGHT [LEFT1 RIGHT1]) which specifies | ||
| 5731 | the actual bitmap shown in the left or right fringe for the logical | ||
| 5732 | indicator. LEFT and RIGHT are the bitmaps shown in the left and/or | ||
| 5733 | right fringe for the specific indicator. The LEFT1 or RIGHT1 bitmaps | ||
| 5734 | are used only for the `bottom' and `one-line' indicators when the last | ||
| 5735 | (only) line in has no final newline. BITMAPS may also be a single | ||
| 5736 | symbol which is used in both left and right fringes. */); | ||
| 5737 | |||
| 5738 | DEFVAR_PER_BUFFER ("fringe-cursor-alist", | ||
| 5739 | ¤t_buffer->fringe_cursor_alist, Qnil, | ||
| 5740 | doc: /* *Mapping from logical to physical fringe cursor bitmaps. | ||
| 5741 | The value is an alist where each element (CURSOR . BITMAP) | ||
| 5742 | specifies the fringe bitmaps used to display a specific logical | ||
| 5743 | cursor type in the fringe. | ||
| 5744 | |||
| 5745 | CURSOR specifies the logical cursor type which is one of the following | ||
| 5746 | symbols: `box' , `hollow', `bar', `hbar', or `hollow-small'. The last | ||
| 5747 | one is used to show a hollow cursor on narrow lines display lines | ||
| 5748 | where the normal hollow cursor will not fit. | ||
| 5749 | |||
| 5750 | BITMAP is the corresponding fringe bitmap shown for the logical | ||
| 5751 | cursor type. */); | ||
| 5752 | |||
| 5705 | DEFVAR_PER_BUFFER ("scroll-up-aggressively", | 5753 | DEFVAR_PER_BUFFER ("scroll-up-aggressively", |
| 5706 | ¤t_buffer->scroll_up_aggressively, Qnil, | 5754 | ¤t_buffer->scroll_up_aggressively, Qnil, |
| 5707 | doc: /* How far to scroll windows upward. | 5755 | doc: /* How far to scroll windows upward. |