]> git.eshelyaron.com Git - emacs.git/commitdiff
(custom-display): Add support for `supports' predicate.
authorMiles Bader <miles@gnu.org>
Mon, 10 Jun 2002 02:47:18 +0000 (02:47 +0000)
committerMiles Bader <miles@gnu.org>
Mon, 10 Jun 2002 02:47:18 +0000 (02:47 +0000)
lisp/cus-edit.el

index 344ffab2d47f9811010e862baba89e575c7a705f..d09d39733b37bdc3fd84c9c72fafe25e2f797614 100644 (file)
@@ -2627,7 +2627,11 @@ Match frames with light backgrounds.")
                                    (const :format "Dark\n"
                                           :sibling-args (:help-echo "\
 Match frames with dark backgrounds.")
-                                          dark)))))))
+                                          dark)))
+                 (group :sibling-args (:help-echo "\
+Only match frames that support the specified face attributes.")
+                        (const :format "Supports attributes:" supports)
+                        (custom-face-edit :format "%n%v"))))))
 
 ;;; The `custom-face' Widget.