aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPer Abrahamsen1997-04-15 11:32:14 +0000
committerPer Abrahamsen1997-04-15 11:32:14 +0000
commitf24bcac4fd6493b2adf4a20073adaf860d9141db (patch)
treefa9a8712fccd740dec2036641d8cd45a807c5496
parente32273dc030f8fef67d076804d837cde264b6f12 (diff)
downloademacs-f24bcac4fd6493b2adf4a20073adaf860d9141db.tar.gz
emacs-f24bcac4fd6493b2adf4a20073adaf860d9141db.zip
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 @@
26 sexp 26 sexp
27 (list 'quote sexp))) 27 (list 'quote sexp)))
28 28
29;; Add support for build in variables.
29(let ((all '(;; abbrev.c 30(let ((all '(;; abbrev.c
30 (abbrev-all-caps abbrev-mode boolean) 31 (abbrev-all-caps abbrev-mode boolean)
31 (pre-abbrev-expand-hook abbrev-mode hook) 32 (pre-abbrev-expand-hook abbrev-mode hook)
@@ -195,4 +196,23 @@
195 ;; Set the type. 196 ;; Set the type.
196 (put symbol 'custom-type type)))) 197 (put symbol 'custom-type type))))
197 198
199;; Add support for build in faces.
200(let ((all '((bold "Use bold font.")
201 (bold-italic "Use bold italic font.")
202 (italic "Use italic font.")
203 (underline "Undeline text.")
204 (default "Used for text not covered by other faces.")
205 (highlight "Highlight text in some way.")
206 (modeline "Used for displaying the modeline.")
207 (region "Used for displaying the region.")
208 (secondary-selection
209 "Used for displaying the secondary selection.")))
210 entry symbol doc)
211 (while all
212 (setq entry (car all)
213 all (cdr all)
214 symbol (nth 0 entry)
215 doc (nth 1 entry))
216 (put symbol 'face-documentation doc)))
217
198;;; cus-start.el ends here. 218;;; cus-start.el ends here.