GNU Info

Info Node: (elisp)Conditional Display

(elisp)Conditional Display


Prev: Display Margins Up: Display Property
Enter node , (file) or (file)node

Conditional Display Specifications
----------------------------------

   You can make any display specification conditional.  To do that,
package it in another list of the form `(when CONDITION .  SPEC)'.
Then the specification SPEC applies only when CONDITION evaluates to a
non-`nil' value.  During the evaluation, `object' is bound to the
string or buffer having the conditional `display' property.  `position'
and `buffer-position' are bound to the position within `object' and the
buffer position where the `display' property was found, respectively.
Both positions can be different when `object' is a string.


automatically generated by info2www version 1.2.2.9