diff options
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/src/buffer.c b/src/buffer.c index 3f9b2744e96..ca8d1ec5db3 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -5231,7 +5231,7 @@ This is the same as (default-value 'ctl-arrow). */); | |||
| 5231 | 5231 | ||
| 5232 | DEFVAR_BUFFER_DEFAULTS ("default-enable-multibyte-characters", | 5232 | DEFVAR_BUFFER_DEFAULTS ("default-enable-multibyte-characters", |
| 5233 | enable_multibyte_characters, | 5233 | enable_multibyte_characters, |
| 5234 | doc: /* *Default value of `enable-multibyte-characters' for buffers not overriding it. | 5234 | doc: /* Default value of `enable-multibyte-characters' for buffers not overriding it. |
| 5235 | This is the same as (default-value 'enable-multibyte-characters). */); | 5235 | This is the same as (default-value 'enable-multibyte-characters). */); |
| 5236 | 5236 | ||
| 5237 | DEFVAR_BUFFER_DEFAULTS ("default-buffer-file-coding-system", | 5237 | DEFVAR_BUFFER_DEFAULTS ("default-buffer-file-coding-system", |
| @@ -5393,7 +5393,7 @@ A string is printed verbatim in the mode line except for %-constructs: | |||
| 5393 | Decimal digits after the % specify field width to which to pad. */); | 5393 | Decimal digits after the % specify field width to which to pad. */); |
| 5394 | 5394 | ||
| 5395 | DEFVAR_BUFFER_DEFAULTS ("default-major-mode", major_mode, | 5395 | DEFVAR_BUFFER_DEFAULTS ("default-major-mode", major_mode, |
| 5396 | doc: /* *Value of `major-mode' for new buffers. */); | 5396 | doc: /* Value of `major-mode' for new buffers. */); |
| 5397 | 5397 | ||
| 5398 | DEFVAR_PER_BUFFER ("major-mode", &BVAR (current_buffer, major_mode), | 5398 | DEFVAR_PER_BUFFER ("major-mode", &BVAR (current_buffer, major_mode), |
| 5399 | make_number (Lisp_Symbol), | 5399 | make_number (Lisp_Symbol), |
| @@ -5424,25 +5424,25 @@ Use the command `abbrev-mode' to change this variable. */); | |||
| 5424 | 5424 | ||
| 5425 | DEFVAR_PER_BUFFER ("case-fold-search", &BVAR (current_buffer, case_fold_search), | 5425 | DEFVAR_PER_BUFFER ("case-fold-search", &BVAR (current_buffer, case_fold_search), |
| 5426 | Qnil, | 5426 | Qnil, |
| 5427 | doc: /* *Non-nil if searches and matches should ignore case. */); | 5427 | doc: /* Non-nil if searches and matches should ignore case. */); |
| 5428 | 5428 | ||
| 5429 | DEFVAR_PER_BUFFER ("fill-column", &BVAR (current_buffer, fill_column), | 5429 | DEFVAR_PER_BUFFER ("fill-column", &BVAR (current_buffer, fill_column), |
| 5430 | make_number (LISP_INT_TAG), | 5430 | make_number (LISP_INT_TAG), |
| 5431 | doc: /* *Column beyond which automatic line-wrapping should happen. | 5431 | doc: /* Column beyond which automatic line-wrapping should happen. |
| 5432 | Interactively, you can set the buffer local value using \\[set-fill-column]. */); | 5432 | Interactively, you can set the buffer local value using \\[set-fill-column]. */); |
| 5433 | 5433 | ||
| 5434 | DEFVAR_PER_BUFFER ("left-margin", &BVAR (current_buffer, left_margin), | 5434 | DEFVAR_PER_BUFFER ("left-margin", &BVAR (current_buffer, left_margin), |
| 5435 | make_number (LISP_INT_TAG), | 5435 | make_number (LISP_INT_TAG), |
| 5436 | doc: /* *Column for the default `indent-line-function' to indent to. | 5436 | doc: /* Column for the default `indent-line-function' to indent to. |
| 5437 | Linefeed indents to this column in Fundamental mode. */); | 5437 | Linefeed indents to this column in Fundamental mode. */); |
| 5438 | 5438 | ||
| 5439 | DEFVAR_PER_BUFFER ("tab-width", &BVAR (current_buffer, tab_width), | 5439 | DEFVAR_PER_BUFFER ("tab-width", &BVAR (current_buffer, tab_width), |
| 5440 | make_number (LISP_INT_TAG), | 5440 | make_number (LISP_INT_TAG), |
| 5441 | doc: /* *Distance between tab stops (for display of tab characters), in columns. | 5441 | doc: /* Distance between tab stops (for display of tab characters), in columns. |
| 5442 | This should be an integer greater than zero. */); | 5442 | This should be an integer greater than zero. */); |
| 5443 | 5443 | ||
| 5444 | DEFVAR_PER_BUFFER ("ctl-arrow", &BVAR (current_buffer, ctl_arrow), Qnil, | 5444 | DEFVAR_PER_BUFFER ("ctl-arrow", &BVAR (current_buffer, ctl_arrow), Qnil, |
| 5445 | doc: /* *Non-nil means display control chars with uparrow. | 5445 | doc: /* Non-nil means display control chars with uparrow. |
| 5446 | A value of nil means use backslash and octal digits. | 5446 | A value of nil means use backslash and octal digits. |
| 5447 | This variable does not apply to characters whose display is specified | 5447 | This variable does not apply to characters whose display is specified |
| 5448 | in the current display table (if there is one). */); | 5448 | in the current display table (if there is one). */); |
| @@ -5483,7 +5483,7 @@ This variable is never applied to a way of decoding a file while reading it. */ | |||
| 5483 | 5483 | ||
| 5484 | DEFVAR_PER_BUFFER ("bidi-paragraph-direction", | 5484 | DEFVAR_PER_BUFFER ("bidi-paragraph-direction", |
| 5485 | &BVAR (current_buffer, bidi_paragraph_direction), Qnil, | 5485 | &BVAR (current_buffer, bidi_paragraph_direction), Qnil, |
| 5486 | doc: /* *If non-nil, forces directionality of text paragraphs in the buffer. | 5486 | doc: /* If non-nil, forces directionality of text paragraphs in the buffer. |
| 5487 | 5487 | ||
| 5488 | If this is nil (the default), the direction of each paragraph is | 5488 | If this is nil (the default), the direction of each paragraph is |
| 5489 | determined by the first strong directional character of its text. | 5489 | determined by the first strong directional character of its text. |
| @@ -5494,7 +5494,7 @@ This variable has no effect unless the buffer's value of | |||
| 5494 | \`bidi-display-reordering' is non-nil. */); | 5494 | \`bidi-display-reordering' is non-nil. */); |
| 5495 | 5495 | ||
| 5496 | DEFVAR_PER_BUFFER ("truncate-lines", &BVAR (current_buffer, truncate_lines), Qnil, | 5496 | DEFVAR_PER_BUFFER ("truncate-lines", &BVAR (current_buffer, truncate_lines), Qnil, |
| 5497 | doc: /* *Non-nil means do not display continuation lines. | 5497 | doc: /* Non-nil means do not display continuation lines. |
| 5498 | Instead, give each line of text just one screen line. | 5498 | Instead, give each line of text just one screen line. |
| 5499 | 5499 | ||
| 5500 | Note that this is overridden by the variable | 5500 | Note that this is overridden by the variable |
| @@ -5504,7 +5504,7 @@ and this buffer is not full-frame width. | |||
| 5504 | Minibuffers set this variable to nil. */); | 5504 | Minibuffers set this variable to nil. */); |
| 5505 | 5505 | ||
| 5506 | DEFVAR_PER_BUFFER ("word-wrap", &BVAR (current_buffer, word_wrap), Qnil, | 5506 | DEFVAR_PER_BUFFER ("word-wrap", &BVAR (current_buffer, word_wrap), Qnil, |
| 5507 | doc: /* *Non-nil means to use word-wrapping for continuation lines. | 5507 | doc: /* Non-nil means to use word-wrapping for continuation lines. |
| 5508 | When word-wrapping is on, continuation lines are wrapped at the space | 5508 | When word-wrapping is on, continuation lines are wrapped at the space |
| 5509 | or tab character nearest to the right window edge. | 5509 | or tab character nearest to the right window edge. |
| 5510 | If nil, continuation lines are wrapped at the right screen edge. | 5510 | If nil, continuation lines are wrapped at the right screen edge. |
| @@ -5625,39 +5625,39 @@ See also the functions `display-table-slot' and `set-display-table-slot'. */); | |||
| 5625 | 5625 | ||
| 5626 | DEFVAR_PER_BUFFER ("left-margin-width", &BVAR (current_buffer, left_margin_cols), | 5626 | DEFVAR_PER_BUFFER ("left-margin-width", &BVAR (current_buffer, left_margin_cols), |
| 5627 | Qnil, | 5627 | Qnil, |
| 5628 | doc: /* *Width of left marginal area for display of a buffer. | 5628 | doc: /* Width of left marginal area for display of a buffer. |
| 5629 | A value of nil means no marginal area. */); | 5629 | A value of nil means no marginal area. */); |
| 5630 | 5630 | ||
| 5631 | DEFVAR_PER_BUFFER ("right-margin-width", &BVAR (current_buffer, right_margin_cols), | 5631 | DEFVAR_PER_BUFFER ("right-margin-width", &BVAR (current_buffer, right_margin_cols), |
| 5632 | Qnil, | 5632 | Qnil, |
| 5633 | doc: /* *Width of right marginal area for display of a buffer. | 5633 | doc: /* Width of right marginal area for display of a buffer. |
| 5634 | A value of nil means no marginal area. */); | 5634 | A value of nil means no marginal area. */); |
| 5635 | 5635 | ||
| 5636 | DEFVAR_PER_BUFFER ("left-fringe-width", &BVAR (current_buffer, left_fringe_width), | 5636 | DEFVAR_PER_BUFFER ("left-fringe-width", &BVAR (current_buffer, left_fringe_width), |
| 5637 | Qnil, | 5637 | Qnil, |
| 5638 | doc: /* *Width of this buffer's left fringe (in pixels). | 5638 | doc: /* Width of this buffer's left fringe (in pixels). |
| 5639 | A value of 0 means no left fringe is shown in this buffer's window. | 5639 | A value of 0 means no left fringe is shown in this buffer's window. |
| 5640 | A value of nil means to use the left fringe width from the window's frame. */); | 5640 | A value of nil means to use the left fringe width from the window's frame. */); |
| 5641 | 5641 | ||
| 5642 | DEFVAR_PER_BUFFER ("right-fringe-width", &BVAR (current_buffer, right_fringe_width), | 5642 | DEFVAR_PER_BUFFER ("right-fringe-width", &BVAR (current_buffer, right_fringe_width), |
| 5643 | Qnil, | 5643 | Qnil, |
| 5644 | doc: /* *Width of this buffer's right fringe (in pixels). | 5644 | doc: /* Width of this buffer's right fringe (in pixels). |
| 5645 | A value of 0 means no right fringe is shown in this buffer's window. | 5645 | A value of 0 means no right fringe is shown in this buffer's window. |
| 5646 | A value of nil means to use the right fringe width from the window's frame. */); | 5646 | A value of nil means to use the right fringe width from the window's frame. */); |
| 5647 | 5647 | ||
| 5648 | DEFVAR_PER_BUFFER ("fringes-outside-margins", &BVAR (current_buffer, fringes_outside_margins), | 5648 | DEFVAR_PER_BUFFER ("fringes-outside-margins", &BVAR (current_buffer, fringes_outside_margins), |
| 5649 | Qnil, | 5649 | Qnil, |
| 5650 | doc: /* *Non-nil means to display fringes outside display margins. | 5650 | doc: /* Non-nil means to display fringes outside display margins. |
| 5651 | A value of nil means to display fringes between margins and buffer text. */); | 5651 | A value of nil means to display fringes between margins and buffer text. */); |
| 5652 | 5652 | ||
| 5653 | DEFVAR_PER_BUFFER ("scroll-bar-width", &BVAR (current_buffer, scroll_bar_width), | 5653 | DEFVAR_PER_BUFFER ("scroll-bar-width", &BVAR (current_buffer, scroll_bar_width), |
| 5654 | Qnil, | 5654 | Qnil, |
| 5655 | doc: /* *Width of this buffer's scroll bars in pixels. | 5655 | doc: /* Width of this buffer's scroll bars in pixels. |
| 5656 | A value of nil means to use the scroll bar width from the window's frame. */); | 5656 | A value of nil means to use the scroll bar width from the window's frame. */); |
| 5657 | 5657 | ||
| 5658 | DEFVAR_PER_BUFFER ("vertical-scroll-bar", &BVAR (current_buffer, vertical_scroll_bar_type), | 5658 | DEFVAR_PER_BUFFER ("vertical-scroll-bar", &BVAR (current_buffer, vertical_scroll_bar_type), |
| 5659 | Qnil, | 5659 | Qnil, |
| 5660 | doc: /* *Position of this buffer's vertical scroll bar. | 5660 | doc: /* Position of this buffer's vertical scroll bar. |
| 5661 | The value takes effect whenever you tell a window to display this buffer; | 5661 | The value takes effect whenever you tell a window to display this buffer; |
| 5662 | for instance, with `set-window-buffer' or when `display-buffer' displays it. | 5662 | for instance, with `set-window-buffer' or when `display-buffer' displays it. |
| 5663 | 5663 | ||
| @@ -5667,13 +5667,13 @@ A value of t (the default) means do whatever the window's frame specifies. */); | |||
| 5667 | 5667 | ||
| 5668 | DEFVAR_PER_BUFFER ("indicate-empty-lines", | 5668 | DEFVAR_PER_BUFFER ("indicate-empty-lines", |
| 5669 | &BVAR (current_buffer, indicate_empty_lines), Qnil, | 5669 | &BVAR (current_buffer, indicate_empty_lines), Qnil, |
| 5670 | doc: /* *Visually indicate empty lines after the buffer end. | 5670 | doc: /* Visually indicate empty lines after the buffer end. |
| 5671 | If non-nil, a bitmap is displayed in the left fringe of a window on | 5671 | If non-nil, a bitmap is displayed in the left fringe of a window on |
| 5672 | window-systems. */); | 5672 | window-systems. */); |
| 5673 | 5673 | ||
| 5674 | DEFVAR_PER_BUFFER ("indicate-buffer-boundaries", | 5674 | DEFVAR_PER_BUFFER ("indicate-buffer-boundaries", |
| 5675 | &BVAR (current_buffer, indicate_buffer_boundaries), Qnil, | 5675 | &BVAR (current_buffer, indicate_buffer_boundaries), Qnil, |
| 5676 | doc: /* *Visually indicate buffer boundaries and scrolling. | 5676 | doc: /* Visually indicate buffer boundaries and scrolling. |
| 5677 | If non-nil, the first and last line of the buffer are marked in the fringe | 5677 | If non-nil, the first and last line of the buffer are marked in the fringe |
| 5678 | of a window on window-systems with angle bitmaps, or if the window can be | 5678 | of a window on window-systems with angle bitmaps, or if the window can be |
| 5679 | scrolled, the top and bottom line of the window are marked with up and down | 5679 | scrolled, the top and bottom line of the window are marked with up and down |
| @@ -5698,7 +5698,7 @@ fringe, but no arrow bitmaps, use ((top . left) (bottom . left)). */); | |||
| 5698 | 5698 | ||
| 5699 | DEFVAR_PER_BUFFER ("fringe-indicator-alist", | 5699 | DEFVAR_PER_BUFFER ("fringe-indicator-alist", |
| 5700 | &BVAR (current_buffer, fringe_indicator_alist), Qnil, | 5700 | &BVAR (current_buffer, fringe_indicator_alist), Qnil, |
| 5701 | doc: /* *Mapping from logical to physical fringe indicator bitmaps. | 5701 | doc: /* Mapping from logical to physical fringe indicator bitmaps. |
| 5702 | The value is an alist where each element (INDICATOR . BITMAPS) | 5702 | The value is an alist where each element (INDICATOR . BITMAPS) |
| 5703 | specifies the fringe bitmaps used to display a specific logical | 5703 | specifies the fringe bitmaps used to display a specific logical |
| 5704 | fringe indicator. | 5704 | fringe indicator. |
| @@ -5717,7 +5717,7 @@ symbol which is used in both left and right fringes. */); | |||
| 5717 | 5717 | ||
| 5718 | DEFVAR_PER_BUFFER ("fringe-cursor-alist", | 5718 | DEFVAR_PER_BUFFER ("fringe-cursor-alist", |
| 5719 | &BVAR (current_buffer, fringe_cursor_alist), Qnil, | 5719 | &BVAR (current_buffer, fringe_cursor_alist), Qnil, |
| 5720 | doc: /* *Mapping from logical to physical fringe cursor bitmaps. | 5720 | doc: /* Mapping from logical to physical fringe cursor bitmaps. |
| 5721 | The value is an alist where each element (CURSOR . BITMAP) | 5721 | The value is an alist where each element (CURSOR . BITMAP) |
| 5722 | specifies the fringe bitmaps used to display a specific logical | 5722 | specifies the fringe bitmaps used to display a specific logical |
| 5723 | cursor type in the fringe. | 5723 | cursor type in the fringe. |
| @@ -5881,7 +5881,7 @@ set when a file is visited. */); | |||
| 5881 | 5881 | ||
| 5882 | DEFVAR_PER_BUFFER ("buffer-auto-save-file-format", | 5882 | DEFVAR_PER_BUFFER ("buffer-auto-save-file-format", |
| 5883 | &BVAR (current_buffer, auto_save_file_format), Qnil, | 5883 | &BVAR (current_buffer, auto_save_file_format), Qnil, |
| 5884 | doc: /* *Format in which to write auto-save files. | 5884 | doc: /* Format in which to write auto-save files. |
| 5885 | Should be a list of symbols naming formats that are defined in `format-alist'. | 5885 | Should be a list of symbols naming formats that are defined in `format-alist'. |
| 5886 | If it is t, which is the default, auto-save files are written in the | 5886 | If it is t, which is the default, auto-save files are written in the |
| 5887 | same format as a regular save would use. */); | 5887 | same format as a regular save would use. */); |
| @@ -5931,7 +5931,7 @@ Lisp programs may give this variable certain special values: | |||
| 5931 | Vtransient_mark_mode = Qnil; | 5931 | Vtransient_mark_mode = Qnil; |
| 5932 | 5932 | ||
| 5933 | DEFVAR_LISP ("inhibit-read-only", Vinhibit_read_only, | 5933 | DEFVAR_LISP ("inhibit-read-only", Vinhibit_read_only, |
| 5934 | doc: /* *Non-nil means disregard read-only status of buffers or characters. | 5934 | doc: /* Non-nil means disregard read-only status of buffers or characters. |
| 5935 | If the value is t, disregard `buffer-read-only' and all `read-only' | 5935 | If the value is t, disregard `buffer-read-only' and all `read-only' |
| 5936 | text properties. If the value is a list, disregard `buffer-read-only' | 5936 | text properties. If the value is a list, disregard `buffer-read-only' |
| 5937 | and disregard a `read-only' text property if the property value | 5937 | and disregard a `read-only' text property if the property value |
| @@ -5966,7 +5966,7 @@ to the default frame line height. A value of nil means add no extra space. */) | |||
| 5966 | 5966 | ||
| 5967 | DEFVAR_PER_BUFFER ("cursor-in-non-selected-windows", | 5967 | DEFVAR_PER_BUFFER ("cursor-in-non-selected-windows", |
| 5968 | &BVAR (current_buffer, cursor_in_non_selected_windows), Qnil, | 5968 | &BVAR (current_buffer, cursor_in_non_selected_windows), Qnil, |
| 5969 | doc: /* *Non-nil means show a cursor in non-selected windows. | 5969 | doc: /* Non-nil means show a cursor in non-selected windows. |
| 5970 | If nil, only shows a cursor in the selected window. | 5970 | If nil, only shows a cursor in the selected window. |
| 5971 | If t, displays a cursor related to the usual cursor type | 5971 | If t, displays a cursor related to the usual cursor type |
| 5972 | \(a solid box becomes hollow, a bar becomes a narrower bar). | 5972 | \(a solid box becomes hollow, a bar becomes a narrower bar). |