diff options
| -rw-r--r-- | lisp/lpr.el | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/lpr.el b/lisp/lpr.el index 40f9d81b697..dbefaa938ef 100644 --- a/lisp/lpr.el +++ b/lisp/lpr.el | |||
| @@ -120,10 +120,12 @@ The variable `lpr-page-header-program' specifies the program to use." | |||
| 120 | ;; and it seems to annoying to do for that MIPS system. | 120 | ;; and it seems to annoying to do for that MIPS system. |
| 121 | (let ((name (concat (buffer-name) " Emacs buffer")) | 121 | (let ((name (concat (buffer-name) " Emacs buffer")) |
| 122 | (title (concat (buffer-name) " Emacs buffer")) | 122 | (title (concat (buffer-name) " Emacs buffer")) |
| 123 | ;; On MS-DOS systems, make pipes use binary mode if the | 123 | ;; Make pipes use the same coding system as |
| 124 | ;; original file is binary. | 124 | ;; writing the buffer to a file would. |
| 125 | (binary-process-input buffer-file-type) | 125 | (coding-system-for-write |
| 126 | (binary-process-output buffer-file-type) | 126 | (or coding-system-for-write buffer-file-coding-system)) |
| 127 | (coding-system-for-read | ||
| 128 | (or coding-system-for-read buffer-file-coding-system)) | ||
| 127 | (width tab-width) | 129 | (width tab-width) |
| 128 | switch-string) | 130 | switch-string) |
| 129 | (save-excursion | 131 | (save-excursion |