]> git.eshelyaron.com Git - emacs.git/commitdiff
(%-Constructs): Document new `%i' and `%I' constructs.
authorLute Kamstra <lute@gnu.org>
Mon, 8 Sep 2003 07:59:06 +0000 (07:59 +0000)
committerLute Kamstra <lute@gnu.org>
Mon, 8 Sep 2003 07:59:06 +0000 (07:59 +0000)
lispref/modes.texi

index 1272d8cc5c820a7a633db8424329d624189ecab3..07725ab98707ee08bab60180c6163f8ed491d1a7 100644 (file)
@@ -1481,6 +1481,15 @@ function.  @xref{Buffer File Name}.
 The title (only on a window system) or the name of the selected frame.
 @xref{Window Frame Parameters}.
 
+@item %i
+The size of the accessible part of the current buffer; basically
+@code{(- (point-max) (point-min))}.
+
+@item %I
+Like @samp{%i}, but the size is printed in a more readable way by using
+@samp{k} for 10^3, @samp{M} for 10^6, @samp{G} for 10^9, etc., to
+abbreviate.
+
 @item %l
 The current line number of point, counting within the accessible portion
 of the buffer.