summaryrefslogtreecommitdiff
path: root/lisp/cus-face.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2005-01-05 01:10:24 +0000
committerRichard M. Stallman <rms@gnu.org>2005-01-05 01:10:24 +0000
commit4829145ae3968cd905f9b20cab0a53b93cb777d4 (patch)
treecd7ddbb239ee1e77aba484edcd594ac80d92bdab /lisp/cus-face.el
parent20a514ceed5be18a60d1532e535e5119b7556929 (diff)
downloademacs-4829145ae3968cd905f9b20cab0a53b93cb777d4.tar.gz
(custom-declare-face): Record defface in current-load-list.
Diffstat (limited to 'lisp/cus-face.el')
-rw-r--r--lisp/cus-face.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/cus-face.el b/lisp/cus-face.el
index 0f3f6018cfc..33c8c995a4c 100644
--- a/lisp/cus-face.el
+++ b/lisp/cus-face.el
@@ -50,6 +50,7 @@
(make-face-x-resource-internal face))))
;; Don't record SPEC until we see it causes no errors.
(put face 'face-defface-spec spec)
+ (push (cons 'defface face) current-load-list)
(when (and doc (null (face-documentation face)))
(set-face-documentation face (purecopy doc)))
(custom-handle-all-keywords face args 'custom-face)