1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

Fix last change.

This commit is contained in:
Gerd Moellmann 2001-01-04 14:10:01 +00:00
parent 2621f5a96f
commit f3b05e994e
2 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,11 @@
2001-01-04 Gerd Moellmann <gerd@gnu.org>
* tooltip.el (tooltip-frame-parameters): Remove colors.
(tooltip): New face
(tooltip-set-param): New function.
(tooltip-show): Set up color frame parameters from face `tooltip'.
Display the tooltip text in face `tooltip'.
2001-01-03 Dave Love <fx@gnu.org>
* dired-x.el: Doc fixes. Maintainer change.

View File

@ -331,13 +331,13 @@ change the existing association. Value is the resulting alist."
(fg (face-attribute 'tooltip :foreground))
(bg (face-attribute 'tooltip :background)))
(unless (eq 'unspecified fg)
(tooltip-set-param params 'foreground-color fg))
(setq params (tooltip-set-param params 'foreground-color fg)))
(unless (eq 'unspecified bg)
(tooltip-set-param params 'background-color bg)
(tooltip-set-param params 'border-color bg))
(setq params (tooltip-set-param params 'background-color bg))
(setq params (tooltip-set-param params 'border-color bg)))
(x-show-tip (propertize text 'face 'tooltip)
(selected-frame)
tooltip-frame-parameters
params
nil
tooltip-x-offset
tooltip-y-offset))