diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2013-05-07 10:12:57 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2013-05-07 10:12:57 -0400 |
commit | 276e88731bb652be2e4458d32be1865437d0b575 (patch) | |
tree | 9818976d33e63a2cb3d323b6946e21c6b5bb4e2b /src/buffer.c | |
parent | 07ff4ac605195044af7f0aaab0eac0026a222692 (diff) | |
download | emacs-276e88731bb652be2e4458d32be1865437d0b575.tar.gz |
* buffer.c (tab-width): Mention that it doesn't control indentation.
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c index 3810d3db079..abebdf21135 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -5501,6 +5501,8 @@ This is the same as (default-value 'left-margin). */); DEFVAR_BUFFER_DEFAULTS ("default-tab-width", tab_width, doc: /* Default value of `tab-width' for buffers that do not override it. +NOTE: This controls the display width of a TAB character, and not +the size of an indentation step. This is the same as (default-value 'tab-width). */); DEFVAR_BUFFER_DEFAULTS ("default-case-fold-search", @@ -5692,6 +5694,8 @@ Linefeed indents to this column in Fundamental mode. */); DEFVAR_PER_BUFFER ("tab-width", &BVAR (current_buffer, tab_width), Qintegerp, doc: /* Distance between tab stops (for display of tab characters), in columns. +NOTE: This controls the display width of a TAB character, and not +the size of an indentation step. This should be an integer greater than zero. */); DEFVAR_PER_BUFFER ("ctl-arrow", &BVAR (current_buffer, ctl_arrow), Qnil, |