for the standard faces. Use face-fill-in to set up existing frames.
(face-fill-in, face-try-color-list): New subroutines.
Handle underline, foreground and background in the
frame-independent info of a face.
(x-create-frame-with-faces): Use face-fill-in.
(x-initialize-frame-faces): Function deleted.
(make-face-bold, make-face-italic, make-face-bold-italic)
(make-face-unbold, make-face-unitalic): Update global-face-data.
Ignore a list found in the font slot.
(make-face-bold-internal, make-face-italic-internal):
(make-face-bold-italic-internal): New subroutines.
(x-create-frame-with-faces): If global-face-data's font slot
indicates bold and/or italic, make it so.
(x-initialize-frame-faces): Set up `underline' face.
(x-initialize-frame-faces): Check x-display-color-p
and x-display-planes to decide whether to try using colors or gray.
make-face-bold-italic, make-face-unbold, make-face-unitalic):
Always pass the frame parameter to internal-try-face-font; we only
want to set the face for this frame.
* faces.el (make-face-bold, make-face-italic,
make-face-bold-italic, make-face-unbold, make-face-unitalic):
Fix error messages.
(x-initialize-frame-faces): Explicitly invert `modeline' face.
(x-create-frame-with-faces): Simplify; do nothing special
with `default' or `modeline' face.
Set region-face.
(invert-face): Really do use the default colors.
(x-initialize-frame-faces): Always try "gray" color for
primary-selection; always invert if that fails.
Similar changes for highlight, secondary-selection.
(make-face): Add interactive spec.
(set-default-font): Deleted.
All initialization code moved into it.
Call at end of file, if using X frames already.
(x-create-frame-with-faces): Don't use faces if not initialized.
* faces.el: Don't set frame-creation-function here; x-win.el is
the appropriate place to set it.
* faces.el: Only apply x-initialize-frame-faces to X frames; pass
over terminal frames.
* faces.el: Provide 'faces.
Fail more gracefully if we can't build bold, italic, etc,
versions of the default font.
* faces.el (make-face-bold, make-face-italic,
make-face-bold-italic, make-face-unbold, make-face-unitalic):
Implement NOERROR argument.
(x-initialize-frame-faces): Use the NOERROR argument to the
font manipulation functions to avoid errors while starting up.
Remove initialization of isearch font.
* xfaces.c (internal-x-complain-about-font): Add new frame
argument, so we can check the frame parameters to find the
default font. Callers changed.
* faces.el (x-create-frame-with-faces): Fix typo. Dyke out
code to fully qualify the modeline font; we may not be able to
do that correctly.