aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/faces.el24
2 files changed, 17 insertions, 12 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 71c7eedb335..d0f08795ed3 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12011-04-30 Andreas Schwab <schwab@linux-m68k.org>
2
3 * faces.el (face-spec-set-match-display): Don't match toolkit
4 options on terminal frames.
5
12011-04-29 Stefan Monnier <monnier@iro.umontreal.ca> 62011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
2 7
3 * progmodes/pascal.el: Use lexical binding. 8 * progmodes/pascal.el: Use lexical binding.
diff --git a/lisp/faces.el b/lisp/faces.el
index e7cfa200602..3fb8bc80931 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -1451,18 +1451,18 @@ If FRAME is nil, the current FRAME is used."
1451 ;; of supported colors, and all defface's 1451 ;; of supported colors, and all defface's
1452 ;; are changed to look at number of colors 1452 ;; are changed to look at number of colors
1453 ;; instead of (type graphic) etc. 1453 ;; instead of (type graphic) etc.
1454 (and (null (window-system frame)) 1454 (if (null (window-system frame))
1455 (memq 'tty options)) 1455 (memq 'tty options)
1456 (and (memq 'motif options) 1456 (or (and (memq 'motif options)
1457 (featurep 'motif)) 1457 (featurep 'motif))
1458 (and (memq 'gtk options) 1458 (and (memq 'gtk options)
1459 (featurep 'gtk)) 1459 (featurep 'gtk))
1460 (and (memq 'lucid options) 1460 (and (memq 'lucid options)
1461 (featurep 'x-toolkit) 1461 (featurep 'x-toolkit)
1462 (not (featurep 'motif)) 1462 (not (featurep 'motif))
1463 (not (featurep 'gtk))) 1463 (not (featurep 'gtk)))
1464 (and (memq 'x-toolkit options) 1464 (and (memq 'x-toolkit options)
1465 (featurep 'x-toolkit)))) 1465 (featurep 'x-toolkit))))))
1466 ((eq req 'min-colors) 1466 ((eq req 'min-colors)
1467 (>= (display-color-cells frame) (car options))) 1467 (>= (display-color-cells frame) (car options)))
1468 ((eq req 'class) 1468 ((eq req 'class)