summaryrefslogtreecommitdiff
path: root/lisp/faces.el
Commit message (Collapse)AuthorAgeFilesLines
* (basic-faces): New group. Put the standard faces in it.Karl Heuer1997-10-231-0/+6
|
* (set-face-font-auto): instanciate-fontset renamed to instantiate-fontset.Richard M. Stallman1997-09-051-1/+1
|
* (modify-face): Fix previous change.Richard M. Stallman1997-08-241-1/+1
|
* (modify-face): New arg INVERSE-P.Richard M. Stallman1997-08-231-7/+21
| | | | | | Clear the inverse-video flag before installing new colors. (face-spec-set): Pass INVERSE-P arg, and use (nil) for colors when calling modify-face.
* Faces now have 2 more elements, bold-p and italic-p.Richard M. Stallman1997-08-181-19/+22
| | | | | | | | | (internal-facep, make-face, x-create-frame-with-faces): Create frames with those elements. (face-bold-p, face-italic-p): Just fetch those elements. (set-face-italic-p, set-face-bold-p): Doc fixes. (make-face-bold, make-face-italic, make-face-bold-italic) (make-face-unbold, make-face-unitalic): Set those new elements.
* (set-face-doc-string): Define once again, as alias.Richard M. Stallman1997-08-091-0/+1
|
* (internal-face-interactive): Handle default in usual way,Richard M. Stallman1997-08-041-7/+16
| | | | | | Provide completion for color reading. (set-face-foreground, set-face-background): Specify `color' when reading the color name interactively.
* Alternative colors for standard faces if dark background.Richard M. Stallman1997-08-041-3/+11
|
* (face-attr-match-p): New function.Richard M. Stallman1997-08-031-24/+107
| | | | | | (face-attr-match-1, face-spec-match-p, face-attr-construct): Likewise. (face-spec-choose): New function. (face-spec-set): Use face-spec-choose.
* (set-face-font-auto): Create a fontset if FONT is aKenichi Handa1997-07-311-1/+3
| | | | fontset not instanciated fontset.
* (face-documentation): Renamed from face-doc-string.Richard M. Stallman1997-07-241-3/+4
| | | | | (set-face-documentation): Renamed from set-face-doc-string. (face-doc-string): Make this an alias.
* (set-face-font-explicit): Call internal-set-face-1 properly.Richard M. Stallman1997-07-231-1/+1
|
* (internal-facep): Length is now 10.Richard M. Stallman1997-07-211-8/+41
| | | | | | | | | | | | | | (make-face, x-create-frame-with-faces): Make a face 10 elements long. (internal-set-face-1): Don't call set-face-attribute-internal if NAME is nil. (set-face-font): Set the auto-flag to t or nil. (face-spec-set): Clear out the font at the start, if it was set automatically before. (face-font-explicit): New function. (set-face-font-auto): New function. (set-face-font-explicit): New function. (copy-face): Copy the face-font-external flag. (internal-try-face-font): Use set-face-font-auto.
* (face-set-after-frame-default): New ubroutine,Richard M. Stallman1997-07-051-44/+23
| | | | | | | taken from x-create-frame-with-faces. (x-create-frame-with-faces): Call it. (face-italic-p, face-bold-p): Use equal to compare fonts. (frame-update-faces): Function now a no-op.
* (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'.