Mercurial > emacs
comparison etc/NEWS @ 39031:f5db16d9b787
Change conditional display property API description.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 30 Aug 2001 12:12:17 +0000 |
parents | 6dcbf4154ff0 |
children | 8722aa0ae475 |
comparison
equal
deleted
inserted
replaced
39030:55864f6da728 | 39031:f5db16d9b787 |
---|---|
4662 `height' subproperty. | 4662 `height' subproperty. |
4663 | 4663 |
4664 *** Conditional display properties | 4664 *** Conditional display properties |
4665 | 4665 |
4666 All display specifications can be conditionalized. If a specification | 4666 All display specifications can be conditionalized. If a specification |
4667 has the form `(:when CONDITION . SPEC)', the specification SPEC | 4667 has the form `(when CONDITION . SPEC)', the specification SPEC applies |
4668 applies only when CONDITION yields a non-nil value when evaluated. | 4668 only when CONDITION yields a non-nil value when evaluated. During the |
4669 During evaluation, point is temporarily set to the end position of | 4669 evaluation, `object' is bound to the string or buffer having the |
4670 the text having the `display' property. | 4670 conditional display property; `position' and `buffer-position' are |
4671 bound to the position within `object' and the buffer position where | |
4672 the display property was found, respectively. Both positions can be | |
4673 different when object is a string. | |
4671 | 4674 |
4672 The normal specification consisting of SPEC only is equivalent to | 4675 The normal specification consisting of SPEC only is equivalent to |
4673 `(:when t SPEC)'. | 4676 `(when t . SPEC)'. |
4674 | 4677 |
4675 +++ | 4678 +++ |
4676 ** New menu separator types. | 4679 ** New menu separator types. |
4677 | 4680 |
4678 Emacs now supports more than one menu separator type. Menu items with | 4681 Emacs now supports more than one menu separator type. Menu items with |