comparison etc/NEWS @ 30219:87d8ca1f4b52

*** empty log message ***
author Gerd Moellmann <gerd@gnu.org>
date Fri, 14 Jul 2000 14:01:16 +0000
parents 0f93b32d6add
children 6468eaa4eaee
comparison
equal deleted inserted replaced
30218:70f3583c5da1 30219:87d8ca1f4b52
1257 1257
1258 1258
1259 * Lisp changes made after edition 2.6 of the Emacs Lisp Manual, 1259 * Lisp changes made after edition 2.6 of the Emacs Lisp Manual,
1260 (Display-related features are described in a page of their own below.) 1260 (Display-related features are described in a page of their own below.)
1261 1261
1262 ** The value of the `help-echo' text property is evaluated, if it 1262 ** The value of the `help-echo' text property is called as a function
1263 is not a string already, to obtain a help string. 1263 or evaluated, if it is not a string already, to obtain a help string.
1264 1264
1265 ** Function `make-obsolete' now has an optional arg to say when the 1265 ** Function `make-obsolete' now has an optional arg to say when the
1266 function was declared obsolete. 1266 function was declared obsolete.
1267 1267
1268 ** Function plist-member is renamed from widget-plist-member (which is 1268 ** Function plist-member is renamed from widget-plist-member (which is
2824 Emacs displays short help messages in the echo area, when the mouse 2824 Emacs displays short help messages in the echo area, when the mouse
2825 moves over a tool-bar item or a piece of text that has a text property 2825 moves over a tool-bar item or a piece of text that has a text property
2826 `help-echo'. This feature also applies to strings in the mode line 2826 `help-echo'. This feature also applies to strings in the mode line
2827 that have a `help-echo' property. 2827 that have a `help-echo' property.
2828 2828
2829 If the value of the `help-echo' property is not a string. it is 2829 If the value of the `help-echo' property is a function, that function
2830 evaluated to obtain a help string. 2830 is called with two arguments OBJECT and POSITION. OBJECT is the
2831 2831 buffer or string which had the `help-echo' property. POSITION is
2832 For tool-bar items, their key definition is used to determine the help 2832 the position within OBJECT under the mouse pointer. The function
2833 to display. If their definition contains a property `:help FORM', 2833 should return a help string or nil for none.
2834 FORM is evaluated to determine the help string. Otherwise, the 2834
2835 caption of the tool-bar item is used. 2835 If the value of the `help-echo' property is neither a function nor a
2836 string, it is evaluated to obtain a help string.
2837
2838 For tool-bar and menu-bar items, their key definition is used to
2839 determine the help to display. If their definition contains a
2840 property `:help FORM', FORM is evaluated to determine the help string.
2841 For tool-bar items without a help form, the caption of the item is
2842 used as help string.
2836 2843
2837 The hook `show-help-function' can be set to a function that displays 2844 The hook `show-help-function' can be set to a function that displays
2838 help differently. For example, enabling a tooltip window causes the 2845 help differently. For example, enabling a tooltip window causes the
2839 help display to appear there instead of in the echo area. 2846 help display to appear there instead of in the echo area.
2840 2847