From: Vinicius Jose Latorre Date: Fri, 9 Nov 2007 15:23:07 +0000 (+0000) Subject: If ps-lpr-switches is not a list, force it to be one. X-Git-Tag: emacs-pretest-23.0.90~9818 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4a6789f7cda3fde1cd089b619ff23cd5adb68228;p=emacs.git If ps-lpr-switches is not a list, force it to be one. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c14a7e94e4a..ef1ec9f20fa 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2007-11-09 Vinicius Jose Latorre + + * ps-print.el (ps-do-despool): If ps-lpr-switches is not a list, force + it to be one. + (ps-print-version): New version 6.8.1. + 2007-11-09 Juanma Barranquero * files.el (enable-local-variables): Doc fix. @@ -6319,18 +6325,6 @@ Replace it with another one which disables undo before calling erase-buffer and then turns it back on if needed. -2007-07-24 Vinicius Jose Latorre - - * ps-print.el: Problem with foreground and background color when - printing a buffer with and without faces. Reported by Christian - Schlauer . - (ps-print-version): New version 6.7.5. - (ps-default-fg): Change default value to nil, so black color is used - when a face does not specify a foreground color. - (ps-default-bg): Change default value to nil, so white color is used - for background color. - (ps-begin-job): Fix code. - 2007-07-24 Dan Nicolaescu * vc-hg.el (vc-hg-revision-completion-table): Temporarily comment out. 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 (multi-byte characters) ;; Vinicius Jose Latorre ;; 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