From: Julien Danjou Date: Tue, 5 Jul 2011 10:02:48 +0000 (+0200) Subject: * textmodes/rst.el (rst-define-level-faces): Use `facep' rather X-Git-Tag: emacs-pretest-24.0.90~104^2~419^2~39 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1d3cdbc7be1d7151dc6e0e8773ebacc75f85171e;p=emacs.git * textmodes/rst.el (rst-define-level-faces): Use `facep' rather than `boundp' to check if face is set. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 653aa52f645..a8b65d6915b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2011-07-05 Julien Danjou + + * textmodes/rst.el (rst-define-level-faces): Use `facep' rather + than `boundp' to check if face is set. + 2011-07-05 Juanma Barranquero * register.el (registerv-make): diff --git a/lisp/textmodes/rst.el b/lisp/textmodes/rst.el index 9ed5309bb53..c1ce950522c 100644 --- a/lisp/textmodes/rst.el +++ b/lisp/textmodes/rst.el @@ -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)