Commit f3b05e99 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

Fix last change.

parent 2621f5a9
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> 2001-01-03 Dave Love <fx@gnu.org>
* dired-x.el: Doc fixes. Maintainer change. * dired-x.el: Doc fixes. Maintainer change.
......
...@@ -331,13 +331,13 @@ change the existing association. Value is the resulting alist." ...@@ -331,13 +331,13 @@ change the existing association. Value is the resulting alist."
(fg (face-attribute 'tooltip :foreground)) (fg (face-attribute 'tooltip :foreground))
(bg (face-attribute 'tooltip :background))) (bg (face-attribute 'tooltip :background)))
(unless (eq 'unspecified fg) (unless (eq 'unspecified fg)
(tooltip-set-param params 'foreground-color fg)) (setq params (tooltip-set-param params 'foreground-color fg)))
(unless (eq 'unspecified bg) (unless (eq 'unspecified bg)
(tooltip-set-param params 'background-color bg) (setq params (tooltip-set-param params 'background-color bg))
(tooltip-set-param params 'border-color bg)) (setq params (tooltip-set-param params 'border-color bg)))
(x-show-tip (propertize text 'face 'tooltip) (x-show-tip (propertize text 'face 'tooltip)
(selected-frame) (selected-frame)
tooltip-frame-parameters params
nil nil
tooltip-x-offset tooltip-x-offset
tooltip-y-offset)) tooltip-y-offset))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment