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

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

Re: copy-face seems to work only for current frame


From: Kevin Rodgers
Subject: Re: copy-face seems to work only for current frame
Date: Tue, 27 Jan 2004 13:07:10 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Klaus Zeitler wrote:

Since I didn't like woman-bold-face I tried to change the face by adding:
(eval-after-load "woman"
  '(copy-face 'font-lock-builtin-face 'woman-bold-face))

This works fine as long as I open a manual in the same frame. But when
I open it (setting woman-use-own-frame to t) in a new frame, I have the old
face back.
I also played with the 3rd parameter of copy face (tried nil and t) but to
no avail.

How can I copy a face so that it'll stay the same for all existing and new
frames?


Does this work (before loading woman.el)?

(defface woman-bold-face
  '((t (:inherit font-lock-builtin-face))))

--
Kevin Rodgers



reply via email to

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