summaryrefslogtreecommitdiff
path: root/lisp/ps-print.el
diff options
context:
space:
mode:
authorVinicius Jose Latorre <viniciusjl@ig.com.br>2007-11-09 14:52:32 +0000
committerVinicius Jose Latorre <viniciusjl@ig.com.br>2007-11-09 14:52:32 +0000
commit14bc56f2640fad1774bd767dd4d686aa6a34cc00 (patch)
treefcc466ad6ad91152bae9fd47c292d85cdafd3b4f /lisp/ps-print.el
parent72471520eba42e7e592442d75859d322d7cbb14d (diff)
downloademacs-14bc56f2640fad1774bd767dd4d686aa6a34cc00.tar.gz
If ps-lpr-switches is not a list, force it to be one.
Diffstat (limited to 'lisp/ps-print.el')
-rw-r--r--lisp/ps-print.el10
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/ps-print.el b/lisp/ps-print.el
index d879d1795d7..7c408573797 100644
--- a/lisp/ps-print.el
+++ b/lisp/ps-print.el
@@ -10,11 +10,11 @@
;; Maintainer: Kenichi Handa <handa@m17n.org> (multi-byte characters)
;; Vinicius Jose Latorre <viniciusjl@ig.com.br>
;; Keywords: wp, print, PostScript
-;; Version: 7.3
+;; Version: 7.3.1
;; X-URL: http://www.emacswiki.org/cgi-bin/wiki/ViniciusJoseLatorre
-(defconst ps-print-version "7.3"
- "ps-print.el, v 7.3 <2007/10/26 vinicius>
+(defconst ps-print-version "7.3.1"
+ "ps-print.el, v 7.3.1 <2007/11/09 vinicius>
Vinicius's last change version -- this file may have been edited as part of
Emacs without changes to the version number. When reporting bugs, please also
@@ -6510,7 +6510,9 @@ If FACE is not a valid face name, use default face."
(and (boundp 'printer-name)
(symbol-value 'printer-name))))
(ps-lpr-switches
- (append ps-lpr-switches
+ (append (if (listp ps-lpr-switches)
+ ps-lpr-switches
+ (list ps-lpr-switches))
(and (stringp ps-printer-name)
(string< "" ps-printer-name)
(list (concat