* textmodes/rst.el (rst-define-level-faces): Use `facep' rather

than `boundp' to check if face is set.
This commit is contained in:
Julien Danjou 2011-07-05 12:02:48 +02:00
parent 9173deecd8
commit 1d3cdbc7be
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2011-07-05 Julien Danjou <julien@danjou.info>
* textmodes/rst.el (rst-define-level-faces): Use `facep' rather
than `boundp' to check if face is set.
2011-07-05 Juanma Barranquero <lekktu@gmail.com>
* register.el (registerv-make):

View file

@ -2800,7 +2800,7 @@ details check the Rst Faces Defaults group."
rst-level-face-base-color
(+ (* (1- i) rst-level-face-step-light)
rst-level-face-base-light))))
(unless (boundp sym)
(unless (facep sym)
(make-empty-face sym)
(set-face-doc-string sym doc)
(set-face-background sym col)