# HG changeset patch # User Geoff Voelker # Date 917498910 0 # Node ID 3c29f6165eca6298fa39e2802e378ef34e8132a6 # Parent 36652d90b38f4befed36d667db84d9c87bc83b84 (direct-print-region-helper): Check for printer being t as well as a string. diff -r 36652d90b38f -r 3c29f6165eca lisp/dos-w32.el --- a/lisp/dos-w32.el Thu Jan 28 04:46:42 1999 +0000 +++ b/lisp/dos-w32.el Thu Jan 28 04:48:30 1999 +0000 @@ -292,7 +292,7 @@ ;; asking command.com to copy the file. ;; No action is needed for UNC printer names, which is just as well ;; because `expand-file-name' doesn't support UNC names on MS-DOS. - (if (not (string-match "^\\\\" printer)) + (if (and (stringp printer) (not (string-match "^\\\\" printer))) (setq printer (expand-file-name printer safe-dir))) ;; Handle known programs specially where necessary. (unwind-protect