aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Djärv2004-05-12 09:23:02 +0000
committerJan Djärv2004-05-12 09:23:02 +0000
commit9b44aa8b6fc92bb8e266b5959d2136ac5281a465 (patch)
treef2377c7f44b895f5a4782ff7ca0ce53624e0c26d
parent44251fad2c6fe564a5bdbe4f4e37f0f697e27cf6 (diff)
downloademacs-9b44aa8b6fc92bb8e266b5959d2136ac5281a465.tar.gz
emacs-9b44aa8b6fc92bb8e266b5959d2136ac5281a465.zip
* custom.el (defface): Document that type can have value gtk.
* faces.el (face-spec-set-match-display): Handle type gtk in display.
-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)