* custom.el (defface): Document that type can have value gtk.
authorJan Djärv <jan.h.d@swipnet.se>
Wed, 12 May 2004 09:23:02 +0000 (09:23 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Wed, 12 May 2004 09:23:02 +0000 (09:23 +0000)
* faces.el (face-spec-set-match-display): Handle type gtk in display.

lisp/ChangeLog
lisp/custom.el
lisp/faces.el

index cd0227f..dc31b41 100644 (file)
@@ -1,3 +1,9 @@
+2004-05-12  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * 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  Juanma Barranquero  <lektu@terra.es>
 
        * help-fns.el (help-split-fundoc, help-add-fundoc-usage):
index a0aeeca..ae9d86c 100644 (file)
@@ -298,8 +298,8 @@ following REQ are defined:
 
 `type' (the value of `window-system')
   Under X, in addition to the values `window-system' can take,
-  `motif', `lucid' and `x-toolkit' are allowed, and match when
-  the Motif toolkit, Lucid toolkit, or any X toolkit is in use.
+  `motif', `lucid', `gtk' and `x-toolkit' are allowed, and match when
+  the Motif toolkit, Lucid toolkit, GTK toolkit or any X toolkit is in use.
 
 `class' (the frame's color support)
   Should be one of `color', `grayscale', or `mono'.
index 2480c67..f04da87 100644 (file)
@@ -1309,9 +1309,12 @@ If FRAME is nil, the current FRAME is used."
                                  (memq 'tty options))
                             (and (memq 'motif options)
                                  (featurep 'motif))
+                            (and (memq 'gtk options)
+                                 (featurep 'gtk))
                             (and (memq 'lucid options)
                                  (featurep 'x-toolkit)
-                                 (not (featurep 'motif)))
+                                 (not (featurep 'motif))
+                                 (not (featurep 'gtk)))
                             (and (memq 'x-toolkit options)
                                  (featurep 'x-toolkit))))
                        ((eq req 'min-colors)