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