changeset 52463:be54b19bb668

(%-Constructs): Document new `%i' and `%I' constructs.
author Lute Kamstra <lute@gnu.org>
date Mon, 08 Sep 2003 07:59:06 +0000
parents b118cda42fa3
children 3e7ed05e4684
files lispref/modes.texi
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/modes.texi	Mon Sep 08 07:56:45 2003 +0000
+++ b/lispref/modes.texi	Mon Sep 08 07:59:06 2003 +0000
@@ -1481,6 +1481,15 @@
 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.