]> git.eshelyaron.com Git - emacs.git/commitdiff
(Man-getpage-in-background): Revert previous change but
authorNick Roberts <nickrob@snap.net.nz>
Sat, 19 Jun 2004 00:50:04 +0000 (00:50 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Sat, 19 Jun 2004 00:50:04 +0000 (00:50 +0000)
make cygwin a special case.

lisp/man.el

index 983be4a91cc3f5716ce7992846562226d0a53df0..5a07045dda92ae8b0889873aeffdfc6c81dc4caa 100644 (file)
@@ -733,7 +733,8 @@ all sections related to a subject, put something appropriate into the
        (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