* ps-print.el (ps-face-attribute-list): Handle anonymous faces

Fixes: debbugs:15827
This commit is contained in:
Glenn Morris 2013-11-12 00:16:50 -08:00
parent e6f759f9fd
commit f201cf3a81
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2013-11-12 Glenn Morris <rgm@gnu.org>
* ps-print.el (ps-face-attribute-list):
Handle anonymous faces. (Bug#15827)
2013-11-12 Martin Rudalics <rudalics@gmx.at>
* window.el (display-buffer-other-frame): Fix doc-string.

View file

@ -6293,6 +6293,10 @@ If FACE is not a valid face name, use default face."
;; only background color, not a `real' face
((ps-face-background-color-p (car face-or-list))
(vector 0 nil (ps-face-extract-color face-or-list)))
;; Anonymous face.
((keywordp (car face-or-list))
(vector 0 (plist-get face-or-list :foreground)
(plist-get face-or-list :background)))
;; list of faces
(t
(let ((effects 0)