diff options
| author | Glenn Morris | 2013-11-12 00:16:50 -0800 |
|---|---|---|
| committer | Glenn Morris | 2013-11-12 00:16:50 -0800 |
| commit | f201cf3a8143b0b34b07769fc7d73dd14761b87b (patch) | |
| tree | 11e72c4bb3490cf7e24ea20b586e40e4d4977abd | |
| parent | e6f759f9fd6a12e1249863150bddde58de90deec (diff) | |
| download | emacs-f201cf3a8143b0b34b07769fc7d73dd14761b87b.tar.gz emacs-f201cf3a8143b0b34b07769fc7d73dd14761b87b.zip | |
* ps-print.el (ps-face-attribute-list): Handle anonymous faces
Fixes: debbugs:15827
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/ps-print.el | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 951fcd88abf..5deb1c96dc3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-11-12 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * ps-print.el (ps-face-attribute-list): | ||
| 4 | Handle anonymous faces. (Bug#15827) | ||
| 5 | |||
| 1 | 2013-11-12 Martin Rudalics <rudalics@gmx.at> | 6 | 2013-11-12 Martin Rudalics <rudalics@gmx.at> |
| 2 | 7 | ||
| 3 | * window.el (display-buffer-other-frame): Fix doc-string. | 8 | * window.el (display-buffer-other-frame): Fix doc-string. |
diff --git a/lisp/ps-print.el b/lisp/ps-print.el index cd2b70db658..7c28ecc78e0 100644 --- a/lisp/ps-print.el +++ b/lisp/ps-print.el | |||
| @@ -6293,6 +6293,10 @@ If FACE is not a valid face name, use default face." | |||
| 6293 | ;; only background color, not a `real' face | 6293 | ;; only background color, not a `real' face |
| 6294 | ((ps-face-background-color-p (car face-or-list)) | 6294 | ((ps-face-background-color-p (car face-or-list)) |
| 6295 | (vector 0 nil (ps-face-extract-color face-or-list))) | 6295 | (vector 0 nil (ps-face-extract-color face-or-list))) |
| 6296 | ;; Anonymous face. | ||
| 6297 | ((keywordp (car face-or-list)) | ||
| 6298 | (vector 0 (plist-get face-or-list :foreground) | ||
| 6299 | (plist-get face-or-list :background))) | ||
| 6296 | ;; list of faces | 6300 | ;; list of faces |
| 6297 | (t | 6301 | (t |
| 6298 | (let ((effects 0) | 6302 | (let ((effects 0) |