diff options
Diffstat (limited to 'doc/lispref/modes.texi')
-rw-r--r-- | doc/lispref/modes.texi | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index deaed31aed0..fd497d14f63 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi @@ -2398,6 +2398,7 @@ specifies addition of text properties. @node %-Constructs @subsection @code{%}-Constructs in the Mode Line +@cindex @code{%}-constructs in the mode line Strings used as mode line constructs can use certain @code{%}-constructs to substitute various kinds of data. The @@ -2488,6 +2489,9 @@ The mnemonics of keyboard, terminal, and buffer coding systems. @item %Z Like @samp{%z}, but including the end-of-line format. +@item %& +@samp{*} if the buffer is modified, and @samp{-} otherwise. + @item %* @samp{%} if the buffer is read only (see @code{buffer-read-only}); @* @samp{*} if the buffer is modified (see @code{buffer-modified-p}); @* @@ -2499,9 +2503,6 @@ Like @samp{%z}, but including the end-of-line format. @samp{-} otherwise. This differs from @samp{%*} only for a modified read-only buffer. @xref{Buffer Modification}. -@item %& -@samp{*} if the buffer is modified, and @samp{-} otherwise. - @item %@@ @samp{@@} if the buffer's @code{default-directory} (@pxref{File Name Expansion}) is on a remote machine, and @samp{-} otherwise. |