Mercurial > emacs
changeset 53740:19655fe347ec
Added support for the `default-printer-name' function.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Wed, 28 Jan 2004 23:32:55 +0000 |
parents | 5456cd83c404 |
children | 65b9f657ba94 |
files | lisp/dos-w32.el |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/dos-w32.el Wed Jan 28 23:31:03 2004 +0000 +++ b/lisp/dos-w32.el Wed Jan 28 23:32:55 2004 +0000 @@ -378,7 +378,8 @@ (printer (or (and (boundp 'dos-printer) (stringp (symbol-value 'dos-printer)) (symbol-value 'dos-printer)) - printer-name))) + printer-name + (default-printer-name)))) (or (eq coding-system-for-write 'no-conversion) (setq coding-system-for-write (aref eol-type 1))) ; force conversion to DOS EOLs @@ -411,7 +412,8 @@ (let ((printer (or (and (boundp 'dos-ps-printer) (stringp (symbol-value 'dos-ps-printer)) (symbol-value 'dos-ps-printer)) - ps-printer-name))) + ps-printer-name + (default-printer-name)))) (direct-print-region-helper printer start end lpr-prog delete-text buf display rest)))