(tooltip-hide-delay): New user-option.
(tooltip-show): Use tooltip-hide-delay instead of the default.
This commit is contained in:
parent
91523be925
commit
a93c8ba89a
1 changed files with 8 additions and 1 deletions
|
@ -76,6 +76,13 @@ Do so after `tooltip-short-delay'."
|
||||||
:group 'tooltip)
|
: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
|
(defcustom tooltip-x-offset nil
|
||||||
"Specify an X offset for the display of tooltips.
|
"Specify an X offset for the display of tooltips.
|
||||||
The offset is relative to the position of the mouse. It must
|
The offset is relative to the position of the mouse. It must
|
||||||
|
@ -338,7 +345,7 @@ change the existing association. Value is the resulting alist."
|
||||||
(x-show-tip (propertize text 'face 'tooltip)
|
(x-show-tip (propertize text 'face 'tooltip)
|
||||||
(selected-frame)
|
(selected-frame)
|
||||||
params
|
params
|
||||||
nil
|
tooltip-hide-delay
|
||||||
tooltip-x-offset
|
tooltip-x-offset
|
||||||
tooltip-y-offset))
|
tooltip-y-offset))
|
||||||
(error
|
(error
|
||||||
|
|
Loading…
Add table
Reference in a new issue