# HG changeset patch # User Eli Zaretskii # Date 1088243096 0 # Node ID 060e08bf63fe7ef9416bcb16ef1840dd984f9257 # Parent 5eca32ea0d37679aa34c9539b4646cd2618259d9 (Man-getpage-in-background): Add windows-nt to the list of systems where shell-file-name should be used instead of literal "sh". diff -r 5eca32ea0d37 -r 060e08bf63fe lisp/man.el --- a/lisp/man.el Sat Jun 26 09:38:52 2004 +0000 +++ b/lisp/man.el Sat Jun 26 09:44:56 2004 +0000 @@ -733,7 +733,9 @@ (if (fboundp 'start-process) (set-process-sentinel (start-process manual-program buffer - (if (eq system-type 'cygwin) shell-file-name "sh") + (if (memq system-type '(cygwin windows-nt)) + shell-file-name + "sh") shell-command-switch (format (Man-build-man-command) man-args)) 'Man-bgproc-sentinel)