aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Rumney2004-01-28 23:32:55 +0000
committerJason Rumney2004-01-28 23:32:55 +0000
commitd37c8e1eeb15ef3e9110288ad4bc44823af85380 (patch)
treef19f472b38d23a4345253132b5a9da2e80aa5f3b
parent39a0e1353fdf221ee7297edb643d7576a2090559 (diff)
downloademacs-d37c8e1eeb15ef3e9110288ad4bc44823af85380.tar.gz
emacs-d37c8e1eeb15ef3e9110288ad4bc44823af85380.zip
Added support for the `default-printer-name' function.
-rw-r--r--lisp/dos-w32.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/dos-w32.el b/lisp/dos-w32.el
index c1c189166bb..d7b411fab3f 100644
--- a/lisp/dos-w32.el
+++ b/lisp/dos-w32.el
@@ -378,7 +378,8 @@ indicates a specific program should be invoked."
378 (printer (or (and (boundp 'dos-printer) 378 (printer (or (and (boundp 'dos-printer)
379 (stringp (symbol-value 'dos-printer)) 379 (stringp (symbol-value 'dos-printer))
380 (symbol-value 'dos-printer)) 380 (symbol-value 'dos-printer))
381 printer-name))) 381 printer-name
382 (default-printer-name))))
382 (or (eq coding-system-for-write 'no-conversion) 383 (or (eq coding-system-for-write 'no-conversion)
383 (setq coding-system-for-write 384 (setq coding-system-for-write
384 (aref eol-type 1))) ; force conversion to DOS EOLs 385 (aref eol-type 1))) ; force conversion to DOS EOLs
@@ -411,7 +412,8 @@ indicates a specific program should be invoked."
411 (let ((printer (or (and (boundp 'dos-ps-printer) 412 (let ((printer (or (and (boundp 'dos-ps-printer)
412 (stringp (symbol-value 'dos-ps-printer)) 413 (stringp (symbol-value 'dos-ps-printer))
413 (symbol-value 'dos-ps-printer)) 414 (symbol-value 'dos-ps-printer))
414 ps-printer-name))) 415 ps-printer-name
416 (default-printer-name))))
415 (direct-print-region-helper printer start end lpr-prog 417 (direct-print-region-helper printer start end lpr-prog
416 delete-text buf display rest))) 418 delete-text buf display rest)))
417 419