1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-17 10:06:13 +00:00
Commit Graph

290 Commits

Author SHA1 Message Date
Kim F. Storm
8d413c2b6b (cursor): Add face-no-inherit property. Doc fix. 2004-09-14 19:57:52 +00:00
Miles Bader
1151d6175b Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-372
Simplify face-differs-from-default-p; don't consider :stipple.
2004-06-04 10:12:53 +00:00
Miles Bader
9717e36cff Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-370
Move `display-supports-face-attributes-p' entirely into C code

Previously only the tty-related portion of display-supports-face-attributes-p
was done in C.  This just moves the graphical-display related bits into C
too, which allows us to implement them properly (the previous attempt to do a
halfway-proper job in lisp didn't work because of funny conditions during
emacs startup).
2004-06-04 06:00:59 +00:00
Miles Bader
7e07a66d85 Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-369
Rewrite face-differs-from-default-p
2004-06-04 02:50:50 +00:00
Miles Bader
421c91e527 Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-368
Improve display-supports-face-attributes-p on non-ttys
2004-06-04 02:50:11 +00:00
Juanma Barranquero
e16e7eacad (frame-update-faces): Add empty docstring so the one for `ignore' doesn't
show through.
2004-06-02 00:35:23 +00:00
Jan Djärv
9b44aa8b6f * custom.el (defface): Document that type can have value gtk.
* faces.el (face-spec-set-match-display): Handle type gtk in display.
2004-05-12 09:23:02 +00:00
Stefan Monnier
411def8eb0 (read-face-font): Don't cons up unnecessarily.
(header-line, tool-bar): Share common parts.
2004-03-26 15:12:33 +00:00
Eli Zaretskii
97cc3d15d4 Fix copyright years. 2004-02-27 17:30:23 +00:00
Eli Zaretskii
03dd94f22d (face-spec-set-match-display): Add a new attribute, `min-colors'.
(region, highlight, secondary-selection): Use `min-colors`.
2004-02-27 16:59:56 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Richard M. Stallman
680da3f83b (set-face-attribute): Set face-modified prop to t
when we change the new-frame defaults.
(face-spec-set): Set face-modified prop to nil
when we change the new-frame defaults.
2003-05-28 11:17:33 +00:00
John Paul Wallington
448bcb402d (x-create-frame-with-faces): Call `face-set-after-frame-default'.
(display-supports-face-attributes-p): Doc fix.
2003-05-26 19:15:42 +00:00
Richard M. Stallman
1db354061f (x-create-frame-with-faces): Don't call face-set-after-frame-default.
(face-set-after-frame-default): Copy attrs of global `default'
face to FRAME's `default' face.
2003-05-19 14:46:06 +00:00
Juanma Barranquero
30aa9e510e (frame-set-background-mode): Fix reference to attribute "backgroundMode". 2003-03-05 10:38:24 +00:00
Richard M. Stallman
645a103873 (help-xref-stack): Add defvar to avoid warning. 2002-12-21 20:18:03 +00:00
Andreas Schwab
239ad97f24 (face-font-selection-order)
(face-font-family-alternatives, face-font-registry-alternatives):
Remove period from :tag value.
2002-12-07 20:57:53 +00:00
Richard M. Stallman
ebfa5c375e (face-set-after-frame-default): Ignore errors in face-spec-face-set. 2002-11-24 18:59:08 +00:00
Juanma Barranquero
1c521fb08f (copy-face): Fix spacing. 2002-09-06 07:14:29 +00:00
Juanma Barranquero
2df447f27f (face-id): Fix typo. 2002-07-09 07:35:10 +00:00
Miles Bader
a7ac92b6ec (header-line): Don't use a `common' clause for inheriting from the mode-line
face, since we can't override it, and we don't want it for ttys.
2002-07-03 07:09:44 +00:00
Miles Bader
50e7b8db94 (header-line): Suppress inverse-video on ttys. 2002-07-03 07:03:51 +00:00
Juanma Barranquero
4b22f84460 (frame-update-faces): Fix obsolescence declaration.
(internal-get-face): Remove redundant info from docstring and
fix obsolescence declaration.
2002-06-27 16:09:19 +00:00
Juanma Barranquero
f79f9fb2cf (describe-face): Capitalize "not documented" message. 2002-06-27 07:14:52 +00:00
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