Mercurial > emacs
changeset 35401:c00e94a506a2
(tooltip-hide-delay): New user-option.
(tooltip-show): Use tooltip-hide-delay instead of the default.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 18 Jan 2001 14:38:45 +0000 |
parents | 469f371f0206 |
children | 302fbe91e359 |
files | lisp/tooltip.el |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/tooltip.el Thu Jan 18 14:10:06 2001 +0000 +++ b/lisp/tooltip.el Thu Jan 18 14:38:45 2001 +0000 @@ -76,6 +76,13 @@ :group 'tooltip) +(defcustom tooltip-hide-delay 5 + "Hide tooltips automatically after this many seconds." + :tag "Hide delay" + :type 'number + :group 'tooltip) + + (defcustom tooltip-x-offset nil "Specify an X offset for the display of tooltips. The offset is relative to the position of the mouse. It must @@ -338,7 +345,7 @@ (x-show-tip (propertize text 'face 'tooltip) (selected-frame) params - nil + tooltip-hide-delay tooltip-x-offset tooltip-y-offset)) (error