bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#13278: 24.3.50; Attributes aren't inherited in a copied face across


From: Glenn Morris
Subject: bug#13278: 24.3.50; Attributes aren't inherited in a copied face across frames
Date: Wed, 26 Dec 2012 14:43:40 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Katsumi Yamaoka wrote:

> (This happens in not only 24.3.50 but also at least 24.2.)

In everything since at least 22.3.

> Say copy the built-in face `bold' to `my-bold' as follows:
>
> (copy-face 'bold 'my-bold)
>  = my-bold
> (face-attribute 'my-bold :weight)
>  => bold
>
> That is normal.  However, if `(face-attribute ...)' is done again
> in a newly created frame (by `C-x 5 2'), it returns `unspecified',
> i.e., that is not a bold face in the new frame.

Something to do with the FRAME argument of both these functions,
I imagine.





reply via email to

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