diff options
author | Nick Roberts <nickrob@snap.net.nz> | 2004-06-19 00:50:04 +0000 |
---|---|---|
committer | Nick Roberts <nickrob@snap.net.nz> | 2004-06-19 00:50:04 +0000 |
commit | 353518de7e7fd1350ddd0069c8410475102990db (patch) | |
tree | afd3248aa836bdb80e840fb72f35e4f3381304ee /lisp/man.el | |
parent | 6871c35fd626a83816a962e00aaf824a06e1e09e (diff) | |
download | emacs-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.el | 3 |
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 |