aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/faces.el11
2 files changed, 13 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 78524c9e2b2..843de781e06 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12000-11-13 Eli Zaretskii <eliz@is.elta.co.il>
2
3 * faces.el (face-spec-set-match-display): Revert the change from
4 2000-10-24. Add a FIXME for after v21.1.
5
12000-11-13 Miles Bader <miles@gnu.org> 62000-11-13 Miles Bader <miles@gnu.org>
2 7
3 * textmodes/fill.el (skip-line-prefix): New function. 8 * textmodes/fill.el (skip-line-prefix): New function.
diff --git a/lisp/faces.el b/lisp/faces.el
index 6cf55b0e926..a8c9eee5517 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -1146,9 +1146,14 @@ If FRAME is nil, the current FRAME is used."
1146 options (cdr conjunct) 1146 options (cdr conjunct)
1147 match (cond ((eq req 'type) 1147 match (cond ((eq req 'type)
1148 (or (memq window-system options) 1148 (or (memq window-system options)
1149 (if (display-graphic-p frame) 1149 ;; FIXME: This should be revisited to use
1150 (memq 'graphic options) 1150 ;; display-graphic-p, provided that the
1151 (memq 'tty options)) 1151 ;; color selection depends on the number
1152 ;; of supported colors, and all defface's
1153 ;; are changed to look at number of colors
1154 ;; instead of (type graphic) etc.
1155 (and (null window-system)
1156 (memq 'tty options))
1152 (and (memq 'motif options) 1157 (and (memq 'motif options)
1153 (featurep 'motif)) 1158 (featurep 'motif))
1154 (and (memq 'lucid options) 1159 (and (memq 'lucid options)