* modes.texi (%-Constructs): Fix statement about mode construct padding.
authorChong Yidong <cyd@gnu.org>
Fri, 23 Nov 2012 08:32:43 +0000 (16:32 +0800)
committerChong Yidong <cyd@gnu.org>
Fri, 23 Nov 2012 08:32:43 +0000 (16:32 +0800)
Fixes: debbugs:12866

doc/lispref/ChangeLog
doc/lispref/modes.texi

index 40bd3c2..23da563 100644 (file)
@@ -1,3 +1,8 @@
+2012-11-23  Chong Yidong  <cyd@gnu.org>
+
+       * modes.texi (%-Constructs): Fix statement about mode construct
+       padding (Bug#12866).
+
 2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * debugging.texi (Profiling): Make it more clear
index 0634cdd..55d838d 100644 (file)
@@ -2086,11 +2086,16 @@ specifies addition of text properties.
 @subsection @code{%}-Constructs in the Mode Line
 
   Strings used as mode line constructs can use certain
-@code{%}-constructs to substitute various kinds of data.  Here is a
-list of the defined @code{%}-constructs, and what they mean.  In any
-construct except @samp{%%}, you can add a decimal integer after the
-@samp{%} to specify a minimum field width.  If the width is less, the
-field is padded with spaces to the right.
+@code{%}-constructs to substitute various kinds of data.  The
+following is a list of the defined @code{%}-constructs, and what they
+mean.
+
+  In any construct except @samp{%%}, you can add a decimal integer
+after the @samp{%} to specify a minimum field width.  If the width is
+less, the field is padded to that width.  Purely numeric constructs
+(@samp{c}, @samp{i}, @samp{I}, and @samp{l}) are padded by inserting
+spaces to the left, and others are padded by inserting spaces to the
+right.
 
 @table @code
 @item %b