changeset 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 5eca32ea0d37
children ab95bfbaa9fb
files lisp/man.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
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)