diff lisp/man.el @ 56254:060e08bf63fe

(Man-getpage-in-background): Add windows-nt to the list of systems where shell-file-name should be used instead of literal "sh".
author Eli Zaretskii <eliz@gnu.org>
date Sat, 26 Jun 2004 09:44:56 +0000
parents 8fd93d7de209
children f633084f70ae 59dcbfe97385
line wrap: on
line diff
--- a/lisp/man.el	Sat Jun 26 09:38:52 2004 +0000
+++ b/lisp/man.el	Sat Jun 26 09:44:56 2004 +0000
@@ -733,7 +733,9 @@
 	(if (fboundp 'start-process)
 	    (set-process-sentinel
 	     (start-process manual-program buffer
-			    (if (eq system-type 'cygwin) shell-file-name "sh")
+			    (if (memq system-type '(cygwin windows-nt))
+				shell-file-name
+			      "sh")
 			    shell-command-switch
 			    (format (Man-build-man-command) man-args))
 	     'Man-bgproc-sentinel)