Jan Vroonhof <vroonhof(a)math.ethz.ch> writes:
wmperry(a)aventail.com (William M. Perry) writes:
> So to make a face in Emacs 21 now, you do:
>
> (make-face 'foo)
> (set-face-attribute 'foo nil
> :family "lucidatypewriter"
> :width 'normal
> :height 200
> :weight 'normal
> :foreground "red"
> :background "pink"
> :strike-through t)
What happens if the attribute list is incomplete?
It merges all the attributes from the faces at a specific point, and merges
in 'default' then realizes it. By the time realize_x_face() is called, it
is always fully specified. I could just as easily have written:
(set-face-attribute 'foo nil
:family "lucidatypewriter"
:height 200
:foreground "red"
:strike-through t)
-Bill P.