1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

* custom.el (defface): Document that type can have value gtk.

* faces.el (face-spec-set-match-display): Handle type gtk in display.
This commit is contained in:
Jan Djärv 2004-05-12 09:23:02 +00:00
parent 44251fad2c
commit 9b44aa8b6f
3 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2004-05-12 Jan Dj,Ad(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):

View 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'.

View 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)