diff options
author | Geoff Voelker <voelker@cs.washington.edu> | 1999-01-28 04:48:30 +0000 |
---|---|---|
committer | Geoff Voelker <voelker@cs.washington.edu> | 1999-01-28 04:48:30 +0000 |
commit | 416afb32052f252922ed937746580f1e1863cd48 (patch) | |
tree | 7bbd0f34899698b768a1f988200f0776cbdf195f /lisp/dos-w32.el | |
parent | e7a8ad1fdb56c622496bd0e2e3c82ee307387f0f (diff) | |
download | emacs-416afb32052f252922ed937746580f1e1863cd48.tar.gz |
(direct-print-region-helper): Check for printer
being t as well as a string.
Diffstat (limited to 'lisp/dos-w32.el')
-rw-r--r-- | lisp/dos-w32.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/dos-w32.el b/lisp/dos-w32.el index 825281b11f8..2d5377ef747 100644 --- a/lisp/dos-w32.el +++ b/lisp/dos-w32.el @@ -292,7 +292,7 @@ filesystem mounted on drive Z:, FILESYSTEM could be \"Z:\"." ;; 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 |