summaryrefslogtreecommitdiff
path: root/lisp/cus-start.el
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
commitf24bcac4fd6493b2adf4a20073adaf860d9141db (patch)
treefa9a8712fccd740dec2036641d8cd45a807c5496 /lisp/cus-start.el
parente32273dc030f8fef67d076804d837cde264b6f12 (diff)
downloademacs-f24bcac4fd6493b2adf4a20073adaf860d9141db.tar.gz
Add support for build in faces.
Diffstat (limited to 'lisp/cus-start.el')
-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.