diff options
| author | Vinicius Jose Latorre | 2007-11-09 15:23:07 +0000 |
|---|---|---|
| committer | Vinicius Jose Latorre | 2007-11-09 15:23:07 +0000 |
| commit | 4a6789f7cda3fde1cd089b619ff23cd5adb68228 (patch) | |
| tree | b16e8800989ee55330f77a71c884f737ce19d6ce /lisp | |
| parent | 7b63c0738cd7b7c457b97c4e732d78ce09cc3882 (diff) | |
| download | emacs-4a6789f7cda3fde1cd089b619ff23cd5adb68228.tar.gz emacs-4a6789f7cda3fde1cd089b619ff23cd5adb68228.zip | |
If ps-lpr-switches is not a list, force it to be one.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 18 | ||||
| -rw-r--r-- | lisp/ps-print.el | 10 |
2 files changed, 12 insertions, 16 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c14a7e94e4a..ef1ec9f20fa 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2007-11-09 Vinicius Jose Latorre <viniciusjl@ig.com.br> | ||
| 2 | |||
| 3 | * ps-print.el (ps-do-despool): If ps-lpr-switches is not a list, force | ||
| 4 | it to be one. | ||
| 5 | (ps-print-version): New version 6.8.1. | ||
| 6 | |||
| 1 | 2007-11-09 Juanma Barranquero <lekktu@gmail.com> | 7 | 2007-11-09 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 8 | ||
| 3 | * files.el (enable-local-variables): Doc fix. | 9 | * files.el (enable-local-variables): Doc fix. |
| @@ -6319,18 +6325,6 @@ | |||
| 6319 | Replace it with another one which disables undo before calling | 6325 | Replace it with another one which disables undo before calling |
| 6320 | erase-buffer and then turns it back on if needed. | 6326 | erase-buffer and then turns it back on if needed. |
| 6321 | 6327 | ||
| 6322 | 2007-07-24 Vinicius Jose Latorre <viniciusjl@ig.com.br> | ||
| 6323 | |||
| 6324 | * ps-print.el: Problem with foreground and background color when | ||
| 6325 | printing a buffer with and without faces. Reported by Christian | ||
| 6326 | Schlauer <cs-muelleimer-rubbish.bin@arcor.de>. | ||
| 6327 | (ps-print-version): New version 6.7.5. | ||
| 6328 | (ps-default-fg): Change default value to nil, so black color is used | ||
| 6329 | when a face does not specify a foreground color. | ||
| 6330 | (ps-default-bg): Change default value to nil, so white color is used | ||
| 6331 | for background color. | ||
| 6332 | (ps-begin-job): Fix code. | ||
| 6333 | |||
| 6334 | 2007-07-24 Dan Nicolaescu <dann@ics.uci.edu> | 6328 | 2007-07-24 Dan Nicolaescu <dann@ics.uci.edu> |
| 6335 | 6329 | ||
| 6336 | * vc-hg.el (vc-hg-revision-completion-table): Temporarily comment out. | 6330 | * 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 @@ | |||
| 10 | ;; Maintainer: Kenichi Handa <handa@m17n.org> (multi-byte characters) | 10 | ;; Maintainer: Kenichi Handa <handa@m17n.org> (multi-byte characters) |
| 11 | ;; Vinicius Jose Latorre <viniciusjl@ig.com.br> | 11 | ;; Vinicius Jose Latorre <viniciusjl@ig.com.br> |
| 12 | ;; Keywords: wp, print, PostScript | 12 | ;; Keywords: wp, print, PostScript |
| 13 | ;; Version: 6.8 | 13 | ;; Version: 6.8.1 |
| 14 | ;; X-URL: http://www.emacswiki.org/cgi-bin/wiki/ViniciusJoseLatorre | 14 | ;; X-URL: http://www.emacswiki.org/cgi-bin/wiki/ViniciusJoseLatorre |
| 15 | 15 | ||
| 16 | (defconst ps-print-version "6.8" | 16 | (defconst ps-print-version "6.8.1" |
| 17 | "ps-print.el, v 6.8 <2007/10/26 vinicius> | 17 | "ps-print.el, v 6.8.1 <2007/11/09 vinicius> |
| 18 | 18 | ||
| 19 | Vinicius's last change version -- this file may have been edited as part of | 19 | Vinicius's last change version -- this file may have been edited as part of |
| 20 | Emacs without changes to the version number. When reporting bugs, please also | 20 | 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." | |||
| 6844 | (and (boundp 'printer-name) | 6844 | (and (boundp 'printer-name) |
| 6845 | (symbol-value 'printer-name)))) | 6845 | (symbol-value 'printer-name)))) |
| 6846 | (ps-lpr-switches | 6846 | (ps-lpr-switches |
| 6847 | (append ps-lpr-switches | 6847 | (append (if (listp ps-lpr-switches) |
| 6848 | ps-lpr-switches | ||
| 6849 | (list ps-lpr-switches)) | ||
| 6848 | (and (stringp ps-printer-name) | 6850 | (and (stringp ps-printer-name) |
| 6849 | (string< "" ps-printer-name) | 6851 | (string< "" ps-printer-name) |
| 6850 | (list (concat | 6852 | (list (concat |