summaryrefslogtreecommitdiff
path: root/lisp/man.el
diff options
context:
space:
mode:
authorNick Roberts <nickrob@snap.net.nz>2004-06-19 00:50:04 +0000
committerNick Roberts <nickrob@snap.net.nz>2004-06-19 00:50:04 +0000
commit353518de7e7fd1350ddd0069c8410475102990db (patch)
treeafd3248aa836bdb80e840fb72f35e4f3381304ee /lisp/man.el
parent6871c35fd626a83816a962e00aaf824a06e1e09e (diff)
downloademacs-353518de7e7fd1350ddd0069c8410475102990db.tar.gz
(Man-getpage-in-background): Revert previous change but
make cygwin a special case.
Diffstat (limited to 'lisp/man.el')
-rw-r--r--lisp/man.el3
1 files changed, 2 insertions, 1 deletions
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