1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-05 11:45:45 +00:00
Commit Graph

266 Commits

Author SHA1 Message Date
Miles Bader
16320ac7d4 (display-supports-face-attributes-p): Work correctly if DISPLAY is a frame.
(face-spec-set-match-display): Support `supports' predicate.
(italic): Try underlining for displays that don't support real italics.
2002-06-10 02:15:24 +00:00
Miles Bader
6ae315b0d8 (display-supports-face-attributes-p): New function. 2002-06-09 12:57:35 +00:00
Juanma Barranquero
6afa540403 (describe-face): Fix typo. 2002-05-16 07:49:59 +00:00
Eli Zaretskii
89e7ad5946 Change all post-21.1 :version attributes to 21.4. 2002-05-12 17:30:42 +00:00
Pavel Janík
307645975c Follow coding conventions. 2002-05-02 05:41:46 +00:00
Miles Bader
3b4ef34b2e (read-face-name): Format the prompt correctly when there's no default. 2002-04-27 04:57:44 +00:00
Richard M. Stallman
7926be1c7d Don't require cus-face. 2002-04-27 03:45:58 +00:00
Richard M. Stallman
a482f36455 (read-face-name): New defaulting features.
New args STRING-DESCRIBING-DEFAULT and MULTIPLE.
(list-faces-display): Use the face, not its name string,
as arg when running customize-face.
Put a `read-face-name' prop on the entire line.
(describe-face): Handle multiple faces via read-face-name.
2002-04-26 22:31:16 +00:00
Miles Bader
04b8b38245 (highlight): Force foreground to be black on a tty, so this face is
readable on a dark-background tty.
2002-04-15 06:16:28 +00:00
Stefan Monnier
b6b90dfc51 (face-spec-choose): Allow `t' to appear before the end.
(mode-line, tool-bar, minibuffer-prompt, region, fringe, bold, italic)
(bold-italic, underline, highlight, secondary-selection, fixed-pitch)
(variable-pitch, trailing-whitespace): Don't use the old-style entries.
(mode-line-inactive, header-line): Move the `t' section to the
beginning so the `:inherit' setting can be shared.
2002-03-04 23:00:28 +00:00
Juanma Barranquero
46057f5f8f (list-faces-display): Fix typo. 2002-02-26 12:13:35 +00:00
Eli Zaretskii
9ef4c8ea41 (mode-line-inactive, header-line): Add the :inherit
attribute for the tty case.
2002-02-17 18:21:59 +00:00
Miles Bader
53a2f6e139 (mode-line-inactive): Add dark-background variant. 2002-02-12 02:59:39 +00:00
Kim F. Storm
c5752dcb2f (mode-line-inactive): New face for mode-line for
non-selected windows.
(mode-line): Doc fix: Only used for selected window.
2002-02-08 23:51:56 +00:00
Jason Rumney
990d68dde9 (face-font-registry-alternatives) [windows-nt]: Add
ms-oemlatin as an alternative for iso8859-1.
2002-01-26 00:03:28 +00:00
Pavel Janík
86886bce27 Fix typos. 2002-01-13 09:56:13 +00:00
Eli Zaretskii
95014d6265 (minibuffer-prompt): A better face definition for MS-DOS. 2002-01-12 12:18:11 +00:00
Eli Zaretskii
0e9f0c4419 (minibuffer-prompt): Special face definition for MS-DOS. 2002-01-10 09:40:57 +00:00
Richard M. Stallman
d352297c8e (face-set-after-frame-default): Don't change `default' face.
(minibuffer-prompt): Adopt some default colors.
2001-12-30 19:39:15 +00:00
Richard M. Stallman
31cf46d33d (minibuffer-prompt): New face.
(minibuffer-prompt-properties): Add `face' property.
2001-12-24 16:39:31 +00:00
Eli Zaretskii
95125512c2 (read-face-name): Doc fix.
(make-face-bold, make-face-unbold, make-face-italic)
(make-face-unitalic, make-face-bold-italic, invert-face): Remove
trailing blank from the prompt passed to read-face-name.
2001-10-29 18:40:23 +00:00
Eli Zaretskii
e458cb4997 (invert-face): Check for 'unspecified, not for nil,
when testing whether face colors are not specified.  From
David.Kastrup@t-online.de (David Kastrup).
2001-10-29 18:06:50 +00:00
Miles Bader
c7f814cb6d (face-attribute): Add INHERIT argument, consider face inheritance if non-nil.
(face-attribute-merged-with): New function.
(face-attribute-specified-or): New macro.
(face-foreground, face-background, face-stipple): Add INHERIT argument.
Use `face-attribute-specified-or'.
2001-10-28 10:19:33 +00:00
Eli Zaretskii
3fc67165a0 (internal-get-face): Use facep instead of the obsolete
internal-find-face.
(internal-frob-font-weight, internal-frob-font-slant): New
defailiases for obsolete functions.
(x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
(x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
(x-make-font-bold-italic): Use internal-frob-font-weight and
internal-frob-font-slant aliases instead of the obsolete
x-frob-... functions.
2001-10-26 21:16:09 +00:00
Stefan Monnier
2cb95d1b7b (describe-face): Call help-setup-xref earlier. 2001-10-12 16:38:32 +00:00
Miles Bader
8940232b59 (list-faces-display, describe-face): Fix args to `help-xref-button'.
(describe-face): Don't switch to help-buffer around call to `help-setup-xref'.
Use `help-buffer' instead of hard-wired "*Help*".
Require `help-mode'.
2001-10-12 01:53:58 +00:00
Andrew Innes
c97db4e4de (face-font-registry-alternatives) [windows-nt]: Make
gb2312 an alias for gb2312.1980.
2001-10-04 17:14:53 +00:00
Pavel Janík
6228c05b99 Keyword added and FSF specified as Maintainer. 2001-08-06 10:12:17 +00:00
Eli Zaretskii
442ebe9842 (region): Change the background color for the
light-background color display to lightgoldenrod2, to make it
visible on some laptops.
2001-06-29 17:40:38 +00:00
Sam Steingold
00f5189042 minor optimization 2001-05-29 16:12:03 +00:00
Gerd Moellmann
75fe153b0c (tty-handle-reverse-video): Don't set inverse-video. 2001-04-25 18:16:30 +00:00
Stefan Monnier
7cd512f22f (modify-face): Add compatibility for non-interactive use. 2001-04-25 15:22:53 +00:00
Gerd Moellmann
bbf63a7b75 (menu): Doc fix. 2001-04-10 13:37:13 +00:00
Gerd Moellmann
0e4892e24d (defface menu): Doc fix. 2001-04-05 16:16:28 +00:00
Miles Bader
78ad1cd532 (set-face-background, set-face-foreground)
(set-face-stipple): Treat a value of nil as being `unspecified'.
2001-02-13 02:03:58 +00:00
Kenichi Handa
a63bcdb884 (mode-line): Set :line-width property to -1. 2001-02-11 06:47:20 +00:00
Kenichi Handa
0f937ebd99 (set-face-attribute): Describe the case of a negative
value specified for :line-width.
2001-02-09 12:35:36 +00:00
Gerd Moellmann
c242484757 (face-spec-set): Interpret a nil in specs for
foreground and background colors as `unspecified', for
compatibility with 20.x.
2000-12-18 15:05:02 +00:00
Miles Bader
4385f1b08d WS 2000-12-15 03:18:26 +00:00
Miles Bader
f9056dd941 (read-face-attribute): If there's no entry for the user's input in
VALID, just use it as-is (this will often result in an error, but it may
be OK for e.g. colors using hexadecimal notation, and at least will
yield a better error message).
2000-12-15 03:12:09 +00:00
Miles Bader
6e4240195f (frame-set-background-mode): Avoid stomping on locally modified faces. 2000-12-06 05:11:20 +00:00
Kenichi Handa
8ac2d32f18 (face-font-registry-alternatives): Add entries for CJK
fonts.  Doc-string adjusted for the actual usage of this data.
2000-12-04 06:27:16 +00:00
Gerd Moellmann
e3fa42c299 (face-foreground, face-background, face-stipple):
Return nil if attribute is unspecified, for backward
compatibility.
2000-11-29 19:21:17 +00:00
Gerd Moellmann
bdc03dd96f (face-set-after-frame-default): Let face attributes
specified for new frames override frame parameters.
2000-11-24 13:16:13 +00:00
Miles Bader
ebd040584d (menu): Make inverse-video on ttys too. 2000-11-22 15:32:13 +00:00
Gerd Moellmann
2392ccb758 (face-set-after-frame-default): If
`inhibit-default-face-x-resources' is bound, don't intiialize the
default face from X resources.
2000-11-15 19:22:06 +00:00
Miles Bader
bdab1d433f (header-line): Use `:box nil' for color/gs displays too. 2000-11-14 09:02:02 +00:00
Eli Zaretskii
1695ca2b15 (face-spec-set-match-display): Revert the change from
2000-10-24.  Add a FIXME for after v21.1.
2000-11-13 15:03:35 +00:00
Dave Love
f676894c4e (face-font-registry-alternatives): Add :version. 2000-11-12 00:38:44 +00:00
Gerd Moellmann
18f1dcb449 (face-font-registry-alternatives): New user-option. 2000-11-10 14:34:23 +00:00