emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r112499: * buffer.c (tab-width): Ment


From: Stefan Monnier
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r112499: * buffer.c (tab-width): Mention that it doesn't control indentation.
Date: Tue, 07 May 2013 10:12:57 -0400
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 112499
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Tue 2013-05-07 10:12:57 -0400
message:
  * buffer.c (tab-width): Mention that it doesn't control indentation.
modified:
  src/buffer.c
=== modified file 'src/buffer.c'
--- a/src/buffer.c      2013-04-14 06:51:15 +0000
+++ b/src/buffer.c      2013-05-07 14:12:57 +0000
@@ -5501,6 +5501,8 @@
   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 @@
   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,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]