summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPer Abrahamsen <abraham@dina.kvl.dk>1997-04-15 11:32:14 +0000
committerPer Abrahamsen <abraham@dina.kvl.dk>1997-04-15 11:32:14 +0000
commitc189099b6ca37c4897842040b960a14761cd05db (patch)
tree418f9d647cd8b7793ff6711f92cd80e18cb12442
parentbfa879b7a4f88654c9f8b25e6da3006bc8029324 (diff)
downloademacs-c189099b6ca37c4897842040b960a14761cd05db.tar.gz
Add support for build in faces.
-rw-r--r--lisp/cus-start.el20
1 files changed, 20 insertions, 0 deletions
diff --git a/lisp/cus-start.el b/lisp/cus-start.el
index 0865ecd8130..11d7ea1bed5 100644
--- a/lisp/cus-start.el
+++ b/lisp/cus-start.el
@@ -26,6 +26,7 @@
sexp
(list 'quote sexp)))
+;; Add support for build in variables.
(let ((all '(;; abbrev.c
(abbrev-all-caps abbrev-mode boolean)
(pre-abbrev-expand-hook abbrev-mode hook)
@@ -195,4 +196,23 @@
;; Set the type.
(put symbol 'custom-type type))))
+;; Add support for build in faces.
+(let ((all '((bold "Use bold font.")
+ (bold-italic "Use bold italic font.")
+ (italic "Use italic font.")
+ (underline "Undeline text.")
+ (default "Used for text not covered by other faces.")
+ (highlight "Highlight text in some way.")
+ (modeline "Used for displaying the modeline.")
+ (region "Used for displaying the region.")
+ (secondary-selection
+ "Used for displaying the secondary selection.")))
+ entry symbol doc)
+ (while all
+ (setq entry (car all)
+ all (cdr all)
+ symbol (nth 0 entry)
+ doc (nth 1 entry))
+ (put symbol 'face-documentation doc)))
+
;;; cus-start.el ends here.