diff lisp/ps-print.el @ 91084:a4347a111894

If ps-lpr-switches is not a list, force it to be one.
author Vinicius Jose Latorre <viniciusjl@ig.com.br>
date Fri, 09 Nov 2007 14:52:32 +0000
parents 74fda5245f7e
children 880960b70474
line wrap: on
line diff
--- a/lisp/ps-print.el	Tue Nov 06 13:32:57 2007 +0000
+++ b/lisp/ps-print.el	Fri Nov 09 14:52:32 2007 +0000
@@ -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 @@
 				    (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