diff options
| author | Gerd Moellmann | 2001-01-18 14:38:45 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-01-18 14:38:45 +0000 |
| commit | a93c8ba89a47e6cfe90be033c7183b2b746d7c9a (patch) | |
| tree | 52925a4e55a3378bf0778032035b62cee8dcd3a5 /lisp | |
| parent | 91523be9250b96b4ebe360630fb4aa6f2263b73a (diff) | |
| download | emacs-a93c8ba89a47e6cfe90be033c7183b2b746d7c9a.tar.gz emacs-a93c8ba89a47e6cfe90be033c7183b2b746d7c9a.zip | |
(tooltip-hide-delay): New user-option.
(tooltip-show): Use tooltip-hide-delay instead of the default.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/tooltip.el | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lisp/tooltip.el b/lisp/tooltip.el index 3457760f97d..b0dfc443a59 100644 --- a/lisp/tooltip.el +++ b/lisp/tooltip.el | |||
| @@ -76,6 +76,13 @@ Do so after `tooltip-short-delay'." | |||
| 76 | :group 'tooltip) | 76 | :group 'tooltip) |
| 77 | 77 | ||
| 78 | 78 | ||
| 79 | (defcustom tooltip-hide-delay 5 | ||
| 80 | "Hide tooltips automatically after this many seconds." | ||
| 81 | :tag "Hide delay" | ||
| 82 | :type 'number | ||
| 83 | :group 'tooltip) | ||
| 84 | |||
| 85 | |||
| 79 | (defcustom tooltip-x-offset nil | 86 | (defcustom tooltip-x-offset nil |
| 80 | "Specify an X offset for the display of tooltips. | 87 | "Specify an X offset for the display of tooltips. |
| 81 | The offset is relative to the position of the mouse. It must | 88 | 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." | |||
| 338 | (x-show-tip (propertize text 'face 'tooltip) | 345 | (x-show-tip (propertize text 'face 'tooltip) |
| 339 | (selected-frame) | 346 | (selected-frame) |
| 340 | params | 347 | params |
| 341 | nil | 348 | tooltip-hide-delay |
| 342 | tooltip-x-offset | 349 | tooltip-x-offset |
| 343 | tooltip-y-offset)) | 350 | tooltip-y-offset)) |
| 344 | (error | 351 | (error |