1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-13 16:38:14 +00:00

(print-region): Make pipes use binary mode if file is binary.

This commit is contained in:
Richard M. Stallman 1996-01-15 22:42:33 +00:00
parent 2a612632fd
commit 7d93ae3cc3

View File

@ -99,6 +99,10 @@ The variable `lpr-page-header-program' specifies the program to use.")
;; and it seems to annoying to do for that MIPS system.
(let ((name (concat (buffer-name) " Emacs buffer"))
(title (concat (buffer-name) " Emacs buffer"))
;; On MS-DOS systems, make pipes use binary mode if the
;; original file is binary.
(binary-process-input buffer-file-type)
(binary-process-output buffer-file-type)
(width tab-width)
switch-string)
(save-excursion