]> code.delx.au - gnu-emacs/commitdiff
(syms_of_buffer): Document `%i' and `%I' constructs for
authorLute Kamstra <lute@gnu.org>
Mon, 8 Sep 2003 07:52:23 +0000 (07:52 +0000)
committerLute Kamstra <lute@gnu.org>
Mon, 8 Sep 2003 07:52:23 +0000 (07:52 +0000)
`mode-line-format'.

src/buffer.c

index de466de485a50cb9ee61804f3a9e4cdd958b28b1..e41d114eaa37d994a6383d5162a09eaf9f3cdc4f 100644 (file)
@@ -5372,6 +5372,8 @@ A string is printed verbatim in the mode line except for %-constructs:
   %c -- print the current column number (this makes editing slower).
         To make the column number update correctly in all cases,
        `column-number-mode' must be non-nil.
+  %i -- print the size of the buffer.
+  %I -- like %i, but use k, M, G, etc., to abbreviate.
   %p -- print percent of buffer above top of window, or Top, Bot or All.
   %P -- print percent of buffer above bottom of window, perhaps plus Top,
         or print Bottom or All.