diff options
| author | Karl Heuer | 1997-10-23 06:36:33 +0000 |
|---|---|---|
| committer | Karl Heuer | 1997-10-23 06:36:33 +0000 |
| commit | 113ab303b87e5c4edfd5583532aa41c134356c50 (patch) | |
| tree | fd95fa749a6be33123b87e683c7061e7d9934e11 | |
| parent | 775a19b4f5c6ed7488e58682d1504d88baf290ac (diff) | |
| download | emacs-113ab303b87e5c4edfd5583532aa41c134356c50.tar.gz emacs-113ab303b87e5c4edfd5583532aa41c134356c50.zip | |
(basic-faces): New group. Put the standard faces in it.
| -rw-r--r-- | lisp/faces.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/faces.el b/lisp/faces.el index 5ad00c71cd3..58b984ce876 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -1604,6 +1604,11 @@ examine the brightness for you." | |||
| 1604 | 1604 | ||
| 1605 | (setq region-face (face-id 'region)) | 1605 | (setq region-face (face-id 'region)) |
| 1606 | 1606 | ||
| 1607 | (defgroup basic-faces nil | ||
| 1608 | "The standard faces of Emacs." | ||
| 1609 | :prefix "huh" | ||
| 1610 | :group 'faces) | ||
| 1611 | |||
| 1607 | ;; Specify how these faces look, and their documentation. | 1612 | ;; Specify how these faces look, and their documentation. |
| 1608 | (let ((all '((bold "Use bold font." ((t (:bold t)))) | 1613 | (let ((all '((bold "Use bold font." ((t (:bold t)))) |
| 1609 | (bold-italic "Use bold italic font." ((t (:bold t :italic t)))) | 1614 | (bold-italic "Use bold italic font." ((t (:bold t :italic t)))) |
| @@ -1636,6 +1641,7 @@ examine the brightness for you." | |||
| 1636 | symbol (nth 0 entry) | 1641 | symbol (nth 0 entry) |
| 1637 | doc (nth 1 entry) | 1642 | doc (nth 1 entry) |
| 1638 | spec (nth 2 entry)) | 1643 | spec (nth 2 entry)) |
| 1644 | (custom-add-to-group 'basic-faces symbol 'custom-face) | ||
| 1639 | (put symbol 'face-documentation doc) | 1645 | (put symbol 'face-documentation doc) |
| 1640 | (put symbol 'face-defface-spec spec))) | 1646 | (put symbol 'face-defface-spec spec))) |
| 1641 | 1647 | ||