# HG changeset patch # User Lute Kamstra # Date 1064830745 0 # Node ID 5f70316d2ec519db1253b241229c0859265240d1 # Parent d46a70300b438e9e79f0e7e40f1863d9794d70be (Mode Line Data): Explain when symbols in mode-line constructs should be marked as risky. Change cons cell into proper list. (Mode Line Variables): Change cons cell into proper list. diff -r d46a70300b43 -r 5f70316d2ec5 lispref/modes.texi --- a/lispref/modes.texi Mon Sep 29 10:08:11 2003 +0000 +++ b/lispref/modes.texi Mon Sep 29 10:19:05 2003 +0000 @@ -1223,6 +1223,11 @@ There is one exception: if the value of @var{symbol} is a string, it is displayed verbatim: the @code{%}-constructs are not recognized. +Unless @var{symbol} is marked as ``risky'' (i.e., it has a +non-@code{nil} @code{risky-local-variable} property), all properties in +any strings, as well as all @code{:eval} and @code{:propertize} forms in +the value of that symbol will be ignored. + @item (@var{string} @var{rest}@dots{}) @r{or} (@var{list} @var{rest}@dots{}) A list whose first element is a string or list means to process all the elements recursively and concatenate the results. This is the most @@ -1302,7 +1307,7 @@ '(which-func-mode ("" which-func-format "--")) '(line-number-mode "L%l--") '(column-number-mode "C%c--") - '(-3 . "%p") + '(-3 "%p") "-%-")) @end group @end example @@ -1360,7 +1365,7 @@ @example @group -((-3 . "%p") +((-3 "%p") (size-indication-mode (8 " of %I")) @end group @group