# HG changeset patch # User Nick Roberts # Date 1087606204 0 # Node ID 8fd93d7de209137d5706b6850bd3505afd69d9bf # Parent 3e590af0f2bdc0ef77de2c689ee8043fa4209aa3 (Man-getpage-in-background): Revert previous change but make cygwin a special case. diff -r 3e590af0f2bd -r 8fd93d7de209 lisp/man.el --- 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