* textmodes/rst.el (rst-define-level-faces): Use `facep' rather
than `boundp' to check if face is set.
This commit is contained in:
parent
9173deecd8
commit
1d3cdbc7be
2 changed files with 6 additions and 1 deletions
|
@ -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):
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue