summaryrefslogtreecommitdiff
path: root/lisp/ps-print.el
diff options
context:
space:
mode:
authorVinicius Jose Latorre <viniciusjl@ig.com.br>2007-11-09 15:23:07 +0000
committerVinicius Jose Latorre <viniciusjl@ig.com.br>2007-11-09 15:23:07 +0000
commit4a6789f7cda3fde1cd089b619ff23cd5adb68228 (patch)
treeb16e8800989ee55330f77a71c884f737ce19d6ce /lisp/ps-print.el
parent7b63c0738cd7b7c457b97c4e732d78ce09cc3882 (diff)
downloademacs-4a6789f7cda3fde1cd089b619ff23cd5adb68228.tar.gz
emacs-4a6789f7cda3fde1cd089b619ff23cd5adb68228.tar.bz2
emacs-4a6789f7cda3fde1cd089b619ff23cd5adb68228.zip
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 d15d5879d69..ecd5488f9dc 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: 6.8
+;; Version: 6.8.1
;; X-URL: http://www.emacswiki.org/cgi-bin/wiki/ViniciusJoseLatorre
-(defconst ps-print-version "6.8"
- "ps-print.el, v 6.8 <2007/10/26 vinicius>
+(defconst ps-print-version "6.8.1"
+ "ps-print.el, v 6.8.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
@@ -6844,7 +6844,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