]> git.eshelyaron.com Git - emacs.git/commitdiff
Add support for build in faces.
authorPer Abrahamsen <abraham@dina.kvl.dk>
Tue, 15 Apr 1997 11:32:14 +0000 (11:32 +0000)
committerPer Abrahamsen <abraham@dina.kvl.dk>
Tue, 15 Apr 1997 11:32:14 +0000 (11:32 +0000)
lisp/cus-start.el

index 0865ecd813045ec4ee59105da24052b48a49c099..11d7ea1bed561749f1a31f22e3f854c75ee17935 100644 (file)
@@ -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)
       ;; 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.