From: Nick Roberts Date: Sat, 19 Jun 2004 00:50:04 +0000 (+0000) Subject: (Man-getpage-in-background): Revert previous change but X-Git-Tag: ttn-vms-21-2-B4~5717 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=353518de7e7fd1350ddd0069c8410475102990db;p=emacs.git (Man-getpage-in-background): Revert previous change but make cygwin a special case. --- diff --git a/lisp/man.el b/lisp/man.el index 983be4a91cc..5a07045dda9 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -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