From 08622028628e82940b78424a930f9f05c56fe0e1 Mon Sep 17 00:00:00 2001 From: Lute Kamstra Date: Mon, 8 Sep 2003 07:59:06 +0000 Subject: [PATCH] (%-Constructs): Document new `%i' and `%I' constructs. --- lispref/modes.texi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lispref/modes.texi b/lispref/modes.texi index 1272d8cc5c8..07725ab9870 100644 --- a/lispref/modes.texi +++ b/lispref/modes.texi @@ -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. -- 2.39.2