aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2000-09-10 21:55:22 +0000
committerDave Love2000-09-10 21:55:22 +0000
commitb5325e7880946f6ced8837e9aa2ca5db9cf85ff0 (patch)
tree1d506addfdeff105cf621b588e3748779c8c6d79
parent9824c4e39e011a38f5d300d9d932a9b0ce61805e (diff)
downloademacs-b5325e7880946f6ced8837e9aa2ca5db9cf85ff0.tar.gz
emacs-b5325e7880946f6ced8837e9aa2ca5db9cf85ff0.zip
(face-x-resources): Make custom type more specific.
(frame-background-mode): Use mapc. (region) <defcustom>: Add :version.
-rw-r--r--lisp/faces.el9
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/faces.el b/lisp/faces.el
index e1eedb84dd8..fa0a68eda6d 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -25,7 +25,9 @@
25;;; Code: 25;;; Code:
26 26
27(eval-when-compile 27(eval-when-compile
28 (require 'cl)) 28 (require 'cl)
29 ;; Warning suppression -- can't require x-win in batch:
30 (autoload 'xw-defined-colors "x-win"))
29 31
30(require 'cus-face) 32(require 'cus-face)
31 33
@@ -274,7 +276,7 @@ Each element has the form (ATTRIBUTE ENTRY1 ENTRY2...) where ATTRIBUTE is
274the name of a face attribute, and each ENTRY is a cons of the form 276the name of a face attribute, and each ENTRY is a cons of the form
275(RESOURCE . CLASS) with RESOURCE being the resource and CLASS being the 277(RESOURCE . CLASS) with RESOURCE being the resource and CLASS being the
276X resource class for the attribute." 278X resource class for the attribute."
277 :type 'sexp 279 :type '(repeat (cons symbol (repeat (cons string string))))
278 :group 'faces) 280 :group 'faces)
279 281
280 282
@@ -1290,7 +1292,7 @@ this won't have the expected effect."
1290 :group 'faces 1292 :group 'faces
1291 :set #'(lambda (var value) 1293 :set #'(lambda (var value)
1292 (set-default var value) 1294 (set-default var value)
1293 (mapcar 'frame-set-background-mode (frame-list))) 1295 (mapc 'frame-set-background-mode (frame-list)))
1294 :initialize 'custom-initialize-changed 1296 :initialize 'custom-initialize-changed
1295 :type '(choice (choice-item dark) 1297 :type '(choice (choice-item dark)
1296 (choice-item light) 1298 (choice-item light)
@@ -1568,6 +1570,7 @@ created."
1568 (:background "light goldenrod yellow")) 1570 (:background "light goldenrod yellow"))
1569 (t (:background "gray"))) 1571 (t (:background "gray")))
1570 "Basic face for highlighting the region." 1572 "Basic face for highlighting the region."
1573 :version "21.1"
1571 :group 'basic-faces) 1574 :group 'basic-faces)
1572 1575
1573 1576