]> git.eshelyaron.com Git - emacs.git/commitdiff
(Man-getpage-in-background): Add windows-nt to the list
authorEli Zaretskii <eliz@gnu.org>
Sat, 26 Jun 2004 09:46:19 +0000 (09:46 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 26 Jun 2004 09:46:19 +0000 (09:46 +0000)
of systems where shell-file-name should be used instead of
literal "sh".

lisp/ChangeLog
lisp/man.el

index ed392b3a20f7502aa2785663edeb4661c3985939..8be0e2bb3dd78166448468dfdf2d9a73eb5f05ef 100644 (file)
@@ -1,3 +1,9 @@
+2004-06-26  Eli Zaretskii  <eliz@gnu.org>
+
+       * man.el (Man-getpage-in-background): Add windows-nt to the list
+       of systems where shell-file-name should be used instead of
+       literal "sh".
+
 2004-06-25  Sam Steingold  <sds@gnu.org>
 
        * add-log.el (change-log-font-lock-keywords): Support Common Lisp
index 5a07045dda92ae8b0889873aeffdfc6c81dc4caa..cbfae21e44b117bbba5e00206d1b376603b20a53 100644 (file)
@@ -733,7 +733,9 @@ all sections related to a subject, put something appropriate into the
        (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)