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

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

Re: set-face-attribute in a .emacs file


From: Gerd Moellmann
Subject: Re: set-face-attribute in a .emacs file
Date: 30 Oct 2001 13:29:31 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50

David <address@hidden> writes:

> (set-face-attribute  'fringe  (selected-frame)  :background  "red")

Thanks for the report, David.  I think the error is in using
selected-frame.  The X frame that later pops up isn't yet created at
this point, so what you really set here is the `fringe' face on a
frame that's dumped with Emacs.  It works if you change
the fringe face for newly created frames (which I think you'd
want anyway), with 

  (set-face-attribute 'fringe t :background  "red")



reply via email to

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