(ps-generate-postscript-with-faces): If the face specified by the overlay's

`face' property is a string, assume it's a string name and intern it to get
the face symbol.
This commit is contained in:
Eli Zaretskii 2008-04-02 17:52:26 +00:00
parent 12e37a709a
commit cc0717799a
2 changed files with 11 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2008-04-02 Eli Zaretskii <eliz@gnu.org>
* ps-print.el (ps-generate-postscript-with-faces): If the face
specified by the overlay's `face' property is a string, assume
it's a string name and intern it to get the face symbol.
2008-04-01 Chong Yidong <cyd@stupidchicken.com>
* find-dired.el (find-dired-filter): Fix last patch to handle

View file

@ -6676,7 +6676,11 @@ If FACE is not a valid face name, use default face."
((ps-e-overlay-get overlay 'face))
(t face)
))))
(setq overlays (cdr overlays))))
(setq overlays (cdr overlays)))
;; Ediff refinement overlays specify faces by name, as a
;; string, not as symbols.
(if (stringp face)
(setq face (intern face))))
;; Plot up to this record.
(and before-string
(ps-plot-string before-string))