diff lisp/man.el @ 56159:8fd93d7de209

(Man-getpage-in-background): Revert previous change but make cygwin a special case.
author Nick Roberts <nickrob@snap.net.nz>
date Sat, 19 Jun 2004 00:50:04 +0000
parents 4729059e27b8
children 060e08bf63fe 4c90ffeb71c5
line wrap: on
line diff
--- a/lisp/man.el	Sat Jun 19 00:48:23 2004 +0000
+++ b/lisp/man.el	Sat Jun 19 00:50:04 2004 +0000
@@ -733,7 +733,8 @@
 	(if (fboundp 'start-process)
 	    (set-process-sentinel
 	     (start-process manual-program buffer
-			    shell-file-name shell-command-switch
+			    (if (eq system-type 'cygwin) shell-file-name "sh")
+			    shell-command-switch
 			    (format (Man-build-man-command) man-args))
 	     'Man-bgproc-sentinel)
 	  (let ((exit-status