summaryrefslogtreecommitdiff
path: root/lisp/faces.el
Commit message (Collapse)AuthorAgeFilesLines
* (make-face): Call make-face-internal only if defined.Richard M. Stallman1997-05-311-2/+5
| | | | | (internal-set-face-1): Call set-face-attribute-internal only if it is defined.
* (x-create-frame-with-faces): Don't call frame-set-background-modeRichard M. Stallman1997-05-261-1/+2
| | | | until after handling the reverse-video parameter.
* Unconditionally create the standard faces at load time.Richard M. Stallman1997-05-251-25/+44
| | | | Move face setup here from cus-start.el, and add attribute info.
* (modify-face): Don't call make-face-unboldRichard M. Stallman1997-05-251-44/+46
| | | | | | | | | | | | | | | | if face has no font; likewise for make-face-unitalic. (x-create-frame-with-faces): Use nil for SET-ANYWAY when calling make-face-x-resource-internal. (face-initialize): Don't initialize any face attributes here. (face-fill-in): Don't call set-face-underline-p if underlining off. (face-inverse-video-p): New function. (set-face-inverse-video-p): New function. (internal-set-face-1): Handle the inverse-video attribute. (face-spec-set): Handle :inverse-video. (make-face, x-create-frame-with-faces): Make vectors length 9. (internal-facep): Expect length 9. (face-try-color-list): Use set-face-inverse-video-p.
* (x-make-font-bold-italic): New function.Kenichi Handa1997-05-121-0/+6
|
* (describe-face): Add documentation.Richard M. Stallman1997-04-251-1/+7
|
* (frame-set-background-mode): New function.Richard M. Stallman1997-04-211-39/+188
| | | | | | | | | | (frame-background-mode): New variable. (x-create-frame-with-faces): Rearrangement of order of font processing. Handle custom-faces here. (face-doc-string, set-face-doc-string): New functions. (set-face-bold-p, set-face-italic-p): New functions. (face-bold-p, face-italic-p): New function. (face-spec-set, face-spec-set-1, face-spec-set-match-display): New functions.
* (make-face): New arg no-resources.Richard M. Stallman1997-04-111-5/+16
| | | | (make-empty-face): New function.
* (set-face-font): Allow specifing fontset for the arg FONT.Kenichi Handa1997-03-181-1/+3
|
* clean code.Simon Marshall1997-03-151-9/+5
|
* When testing FACE's non-nil face-font with the default face font, use the ↵Simon Marshall1997-03-151-2/+5
| | | | frame's font parameter if the default face's face-font is nil.
* (invert-face): Handle inverting the default face better.Richard M. Stallman1997-01-071-6/+8
|
* Change defconsts to defvars.Richard M. Stallman1996-12-161-4/+4
|
* Use w32 instead of ms-windows for window-system symbolGeoff Voelker1996-11-191-3/+3
|
* (make-face, make-face-x-resource-internal):Richard M. Stallman1996-09-151-3/+3
| | | | | Test for ms-windows instead of win32. Use memq. (initialization at end of file): Likewise.
* (internal-set-face-1): When calling x-list-fonts, ask for just one match.Richard M. Stallman1996-08-311-1/+1
|
* (modify-face): Handle nil as stipple value.Richard M. Stallman1996-08-191-9/+38
| | | | | (internal-face-interactive-stipple): New function. (set-face-stipple): Use internal-face-interactive-stipple.
* (modify-face): Handle stipple valuesRichard M. Stallman1996-08-161-4/+19
| | | | of the form (WIDTH HEIGHT DATA).
* (x-create-frame-with-faces): Set threshold for "light color"Richard M. Stallman1996-06-251-1/+4
| | | | at .6 of the total for white.
* (x-frob-font-slant): Properly handle a match againstRichard M. Stallman1996-03-251-4/+8
| | | | | | x-font-regexp-head. (x-frob-font-weight): Separate two cond cases by analogy with x-frob-font-slant.
* (face-color-gray-p): Return nil if x-color-values does.Richard M. Stallman1996-01-291-1/+2
|
* Update FSF's address.Erik Naggum1996-01-141-3/+4
|
* Comment fixes.Karl Heuer1996-01-051-1/+1
|
* Take optional arg FRAME.Simon Marshall1995-12-131-30/+47
| | | | If flag not nil or t, don't change the attribute.
* Wrap case-fold-search for x-frob-font-weight and x-frob-font-slant.Simon Marshall1995-12-121-28/+32
|
* (face-color-supported-p): Return nil if no window system.Richard M. Stallman1995-11-201-9/+10
|
* [win32] (make-face, make-face-x-resource-internal):Geoff Voelker1995-11-071-3/+3
| | | | Test for 'win32 window system as well as 'x.
* (set-face-background): When using face-color-supported-p,Richard M. Stallman1995-08-051-1/+5
| | | | specify foreground, not background.
* (set-face-background): Don't treat nil as a color.Richard M. Stallman1995-07-301-1/+1
|
* (x-font-regexp): Add \\(\\) for substring extraction.Karl Heuer1995-07-271-1/+1
|
* (x-font-regexp-weight-subnum, x-font-regexp-slant-subnum)Karl Heuer1995-07-251-0/+5
| | | | (x-font-regexp-swidth-subnum, x-font-regexp-adstyle-subnum): Defconst.
* (make-face-bold, make-face-italic, make-face-bold-italic)Richard M. Stallman1995-07-251-30/+23
| | | | | (make-face-unbold, make-face-unitalic): No error if font is already bold, italic, or whatever.
* (x-create-frame-with-faces):Richard M. Stallman1995-07-181-4/+5
| | | | | Specify frame arg to x-color-values and frame-parameters. (set-face-background): Pass background-p arg to face-color-supported-p.
* (x-create-frame-with-faces): Set background-modeKarl Heuer1995-07-171-80/+125
| | | | | | | | | | | | and display-type frame parameters. (x-frob-font-slant, x-frob-font-weight): Replace the adstyle field with *, if we can find it. (set-face-background): Use face-color-supported-p. (face-color-gray-p): New function. (face-default-stipple): New variable. (set-face-background): Use face-default-stipple for all grays. (set-face-stipple): Change arg name. (face-color-supported-p): Use face-color-gray-p.
* (x-font-regexp): Include the avgwidth.Richard M. Stallman1995-07-021-2/+2
|
* (describe-face): New function.Richard M. Stallman1995-07-011-2/+25
| | | | | (make-face-x-resource-internal): Give special meanings to font "names" `italic', `bold', and `bold-italic'.
* (x-create-frame-with-faces): Don't use initial-frame-alistKarl Heuer1995-06-091-4/+6
| | | | | | when looking for the X resource name. Copy parameters from default-frame-alist, before the geometry specs from the X resource database.
* (x-create-frame-with-faces): Don't look for geometryKarl Heuer1995-06-091-1/+1
| | | | resource if name is nil.
* (x-create-frame-with-faces): Read geometry resourceKarl Heuer1995-05-261-0/+18
| | | | and use that while creating the frame.
* Put property on set-face-stipple, not set-stipple.Karl Heuer1995-05-181-3/+6
| | | | (face-fill-in): Handle stipple.
* (set-face-background): Handle FRAME = nil directlyRichard M. Stallman1995-04-161-1/+8
| | | | so stipple colors work in that case.
* Update copyright.Karl Heuer1995-04-071-1/+1
|
* Fix previous change.Richard M. Stallman1995-03-301-7/+10
|
* (modify-face): Handle stipple. Handle defaulting properly.Richard M. Stallman1995-03-301-19/+37
| | | | | Speed up making completion alists. (modify-face-read-string): New subroutine.
* (x-create-frame-with-faces): Assume cursor-color, mouse-color, andKarl Heuer1995-01-301-11/+15
| | | | | border-color are okay as specified unless they are the same as the new background color.
* (facep): New function.Richard M. Stallman1995-01-281-6/+17
| | | | (internal-check-face): Don't make a loop, since signal can't return.
* (face-nontrivial-p): New function.Richard M. Stallman1995-01-101-1/+17
|
* (face-try-color-list): Treat `underline' as valid.Richard M. Stallman1995-01-101-1/+1
|
* (frame-update-face-colors): New function.Richard M. Stallman1994-12-201-0/+32
|
* (face-initialize): Test for framep not t or nil.Richard M. Stallman1994-12-151-5/+7
| | | | | (set-face-font): Pass `default' as face to x-resolve-font-name. (x-resolve-font-name): Better error message when FACE doesn't specify the font.