aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/custom.el4
-rw-r--r--lisp/faces.el5
3 files changed, 12 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index cd0227fdb17..dc31b41c7ff 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12004-05-12 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
2
3 * custom.el (defface): Document that type can have value gtk.
4
5 * faces.el (face-spec-set-match-display): Handle type gtk in display.
6
12004-05-12 Juanma Barranquero <lektu@terra.es> 72004-05-12 Juanma Barranquero <lektu@terra.es>
2 8
3 * help-fns.el (help-split-fundoc, help-add-fundoc-usage): 9 * help-fns.el (help-split-fundoc, help-add-fundoc-usage):
diff --git a/lisp/custom.el b/lisp/custom.el
index a0aeeca659d..ae9d86cab00 100644
--- a/lisp/custom.el
+++ b/lisp/custom.el
@@ -298,8 +298,8 @@ following REQ are defined:
298 298
299`type' (the value of `window-system') 299`type' (the value of `window-system')
300 Under X, in addition to the values `window-system' can take, 300 Under X, in addition to the values `window-system' can take,
301 `motif', `lucid' and `x-toolkit' are allowed, and match when 301 `motif', `lucid', `gtk' and `x-toolkit' are allowed, and match when
302 the Motif toolkit, Lucid toolkit, or any X toolkit is in use. 302 the Motif toolkit, Lucid toolkit, GTK toolkit or any X toolkit is in use.
303 303
304`class' (the frame's color support) 304`class' (the frame's color support)
305 Should be one of `color', `grayscale', or `mono'. 305 Should be one of `color', `grayscale', or `mono'.
diff --git a/lisp/faces.el b/lisp/faces.el
index 2480c6777dc..f04da872f4d 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -1309,9 +1309,12 @@ If FRAME is nil, the current FRAME is used."
1309 (memq 'tty options)) 1309 (memq 'tty options))
1310 (and (memq 'motif options) 1310 (and (memq 'motif options)
1311 (featurep 'motif)) 1311 (featurep 'motif))
1312 (and (memq 'gtk options)
1313 (featurep 'gtk))
1312 (and (memq 'lucid options) 1314 (and (memq 'lucid options)
1313 (featurep 'x-toolkit) 1315 (featurep 'x-toolkit)
1314 (not (featurep 'motif))) 1316 (not (featurep 'motif))
1317 (not (featurep 'gtk)))
1315 (and (memq 'x-toolkit options) 1318 (and (memq 'x-toolkit options)
1316 (featurep 'x-toolkit)))) 1319 (featurep 'x-toolkit))))
1317 ((eq req 'min-colors) 1320 ((eq req 'min-colors)