X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/8bf730c6637646109e668181faf19dc2013f17b2..bc149706bc4815de68df7401987e75999ae4dcd7:/el/dot-emacs.el diff --git a/el/dot-emacs.el b/el/dot-emacs.el index d254154..a1cba54 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -1098,12 +1098,14 @@ doesn't match any of the regular expressions in ;;;-------------------------------------------------------------------------- ;;; General fontification. +(make-face 'mdw-virgin-face) + (defmacro mdw-define-face (name &rest body) "Define a face, and make sure it's actually set as the definition." (declare (indent 1) (debug 0)) `(progn - (make-face ',name) + (copy-face 'mdw-virgin-face ',name) (defvar ,name ',name) (put ',name 'face-defface-spec ',body) (face-spec-set ',name ',body nil)))