emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tooltip frame uses (class mono) when processing defface specs


From: Johan Bockgård
Subject: Re: tooltip frame uses (class mono) when processing defface specs
Date: Thu, 20 Sep 2007 20:14:11 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

Joe Wells <address@hidden> writes:

> When processing defface specs, the tooltip frame uses alternatives
> that select the characteristic (class mono).  Alternatives that select
> (class color) or (class grayscale) are not used.

FWIW, (class mono) isn't selected either.

This uses a yellow face:

    (defface bar
      '((((class color))      (:foreground "red"))
        (((class mono))       (:foreground "blue"))
        (((class grayscale))  (:foreground "green"))
        (t                    (:foreground "yellow")))
      "")

    (x-show-tip (propertize "hello" 'face 'bar))

-- 
Johan Bockgård





reply via email to

[Prev in Thread] Current Thread [Next in Thread]