comparison src/buffer.c @ 82179:70709e17ebee

* xdisp.c (decode_mode_spec): Use '@' instead of 'R' to test for remote default-directory. * buffer.c (mode-line-format): Update doc string.
author Nick Roberts <nickrob@snap.net.nz>
date Sat, 28 Jul 2007 01:10:05 +0000
parents b98604865ea0
children 65663fcd2caa 539530fa389c
comparison
equal deleted inserted replaced
82178:05a92f4e34f4 82179:70709e17ebee
5499 %I -- like %i, but use k, M, G, etc., to abbreviate. 5499 %I -- like %i, but use k, M, G, etc., to abbreviate.
5500 %p -- print percent of buffer above top of window, or Top, Bot or All. 5500 %p -- print percent of buffer above top of window, or Top, Bot or All.
5501 %P -- print percent of buffer above bottom of window, perhaps plus Top, 5501 %P -- print percent of buffer above bottom of window, perhaps plus Top,
5502 or print Bottom or All. 5502 or print Bottom or All.
5503 %n -- print Narrow if appropriate. 5503 %n -- print Narrow if appropriate.
5504 %R -- print R or hyphen. R means that default-directory is on a
5505 remote machine.
5506 %t -- visited file is text or binary (if OS supports this distinction). 5504 %t -- visited file is text or binary (if OS supports this distinction).
5507 %z -- print mnemonics of keyboard, terminal, and buffer coding systems. 5505 %z -- print mnemonics of keyboard, terminal, and buffer coding systems.
5508 %Z -- like %z, but including the end-of-line format. 5506 %Z -- like %z, but including the end-of-line format.
5509 %e -- print error message about full memory. 5507 %e -- print error message about full memory.
5508 %@ -- print @ or hyphen. @ means that default-directory is on a
5509 remote machine.
5510 %[ -- print one [ for each recursive editing level. %] similar. 5510 %[ -- print one [ for each recursive editing level. %] similar.
5511 %% -- print %. %- -- print infinitely many dashes. 5511 %% -- print %. %- -- print infinitely many dashes.
5512 Decimal digits after the % specify field width to which to pad. */); 5512 Decimal digits after the % specify field width to which to pad. */);
5513 5513
5514 DEFVAR_LISP_NOPRO ("default-major-mode", &buffer_defaults.major_mode, 5514 DEFVAR_LISP_NOPRO ("default-major-mode", &buffer_defaults.major_mode,