diff options
| author | Eli Zaretskii | 2021-04-30 13:48:13 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2021-04-30 13:48:13 +0300 |
| commit | 101a049f551b4013e54fdef0d87a74ec5dfd05e0 (patch) | |
| tree | 51a1b926ee0046103e1e1ee9ef29e5ef7226ae7b /src/buffer.c | |
| parent | 43c154404e1f0361d18c1d80caecf4b62ce7b74e (diff) | |
| download | emacs-101a049f551b4013e54fdef0d87a74ec5dfd05e0.tar.gz emacs-101a049f551b4013e54fdef0d87a74ec5dfd05e0.zip | |
Improve doc string of 'tab-width'.
* src/buffer.c (syms_of_buffer) <tab-width>: Clarify doc string.
(Bug#48058)
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/buffer.c b/src/buffer.c index a60327bb6ca..60a45731d11 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -5639,9 +5639,12 @@ Linefeed indents to this column in Fundamental mode. */); | |||
| 5639 | DEFVAR_PER_BUFFER ("tab-width", &BVAR (current_buffer, tab_width), | 5639 | DEFVAR_PER_BUFFER ("tab-width", &BVAR (current_buffer, tab_width), |
| 5640 | Qintegerp, | 5640 | Qintegerp, |
| 5641 | doc: /* Distance between tab stops (for display of tab characters), in columns. | 5641 | doc: /* Distance between tab stops (for display of tab characters), in columns. |
| 5642 | NOTE: This controls the display width of a TAB character, and not | 5642 | This controls the width of a TAB character on display. |
| 5643 | the size of an indentation step. | 5643 | The value should be a positive integer. |
| 5644 | This should be an integer greater than zero. */); | 5644 | Note that this variable doesn't necessarily affect the size of the |
| 5645 | indentation step. However, if the major mode's indentation facility | ||
| 5646 | inserts one or more TAB characters, this variable will affect the | ||
| 5647 | indentation step as well, even if `indent-tabs-mode' is non-nil. */); | ||
| 5645 | 5648 | ||
| 5646 | DEFVAR_PER_BUFFER ("ctl-arrow", &BVAR (current_buffer, ctl_arrow), Qnil, | 5649 | DEFVAR_PER_BUFFER ("ctl-arrow", &BVAR (current_buffer, ctl_arrow), Qnil, |
| 5647 | doc: /* Non-nil means display control chars with uparrow. | 5650 | doc: /* Non-nil means display control chars with uparrow. |