aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2008-04-02 17:52:26 +0000
committerEli Zaretskii2008-04-02 17:52:26 +0000
commitcc0717799a2afa65441ac7606621f5b65d34328a (patch)
tree333f66ce188dc8b9e3be53eb0c383ddfbb5748c0
parent12e37a709a467fdb474be41dec3abb6b1eb6f565 (diff)
downloademacs-cc0717799a2afa65441ac7606621f5b65d34328a.tar.gz
emacs-cc0717799a2afa65441ac7606621f5b65d34328a.zip
(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.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/ps-print.el6
2 files changed, 11 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index aae590defca..1d87af4666f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12008-04-02 Eli Zaretskii <eliz@gnu.org>
2
3 * ps-print.el (ps-generate-postscript-with-faces): If the face
4 specified by the overlay's `face' property is a string, assume
5 it's a string name and intern it to get the face symbol.
6
12008-04-01 Chong Yidong <cyd@stupidchicken.com> 72008-04-01 Chong Yidong <cyd@stupidchicken.com>
2 8
3 * find-dired.el (find-dired-filter): Fix last patch to handle 9 * find-dired.el (find-dired-filter): Fix last patch to handle
diff --git a/lisp/ps-print.el b/lisp/ps-print.el
index 4ee58a8ce29..73fa3bb2a25 100644
--- a/lisp/ps-print.el
+++ b/lisp/ps-print.el
@@ -6676,7 +6676,11 @@ If FACE is not a valid face name, use default face."
6676 ((ps-e-overlay-get overlay 'face)) 6676 ((ps-e-overlay-get overlay 'face))
6677 (t face) 6677 (t face)
6678 )))) 6678 ))))
6679 (setq overlays (cdr overlays)))) 6679 (setq overlays (cdr overlays)))
6680 ;; Ediff refinement overlays specify faces by name, as a
6681 ;; string, not as symbols.
6682 (if (stringp face)
6683 (setq face (intern face))))
6680 ;; Plot up to this record. 6684 ;; Plot up to this record.
6681 (and before-string 6685 (and before-string
6682 (ps-plot-string before-string)) 6686 (ps-plot-string before-string))