From: Lute Kamstra Date: Mon, 8 Sep 2003 07:59:06 +0000 (+0000) Subject: (%-Constructs): Document new `%i' and `%I' constructs. X-Git-Tag: ttn-vms-21-2-B4~8874 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=08622028628e82940b78424a930f9f05c56fe0e1;p=emacs.git (%-Constructs): Document new `%i' and `%I' constructs. --- 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.