aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLute Kamstra2003-09-08 07:59:06 +0000
committerLute Kamstra2003-09-08 07:59:06 +0000
commit08622028628e82940b78424a930f9f05c56fe0e1 (patch)
treee1e5c12fa63a09be25366ed50fae9528bbb72c3f
parentffa11cf31a91f184544979a078554bd7638e8bf0 (diff)
downloademacs-08622028628e82940b78424a930f9f05c56fe0e1.tar.gz
emacs-08622028628e82940b78424a930f9f05c56fe0e1.zip
(%-Constructs): Document new `%i' and `%I' constructs.
-rw-r--r--lispref/modes.texi9
1 files changed, 9 insertions, 0 deletions
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}.
1481The title (only on a window system) or the name of the selected frame. 1481The title (only on a window system) or the name of the selected frame.
1482@xref{Window Frame Parameters}. 1482@xref{Window Frame Parameters}.
1483 1483
1484@item %i
1485The size of the accessible part of the current buffer; basically
1486@code{(- (point-max) (point-min))}.
1487
1488@item %I
1489Like @samp{%i}, but the size is printed in a more readable way by using
1490@samp{k} for 10^3, @samp{M} for 10^6, @samp{G} for 10^9, etc., to
1491abbreviate.
1492
1484@item %l 1493@item %l
1485The current line number of point, counting within the accessible portion 1494The current line number of point, counting within the accessible portion
1486of the buffer. 1495of the buffer.