Mercurial > emacs
changeset 55527:4729059e27b8
(Man-getpage-in-background): Use shell-file-name
and shell-command-switch variables instead of hard-coded
values.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Tue, 11 May 2004 09:28:56 +0000 |
parents | bfe54b4136f1 |
children | 2ac9e7728aa7 |
files | lisp/man.el |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/man.el Tue May 11 09:15:55 2004 +0000 +++ b/lisp/man.el Tue May 11 09:28:56 2004 +0000 @@ -732,11 +732,13 @@ (setenv "GROFF_NO_SGR" "1") (if (fboundp 'start-process) (set-process-sentinel - (start-process manual-program buffer "sh" "-c" + (start-process manual-program buffer + shell-file-name shell-command-switch (format (Man-build-man-command) man-args)) 'Man-bgproc-sentinel) (let ((exit-status - (call-process shell-file-name nil (list buffer nil) nil "-c" + (call-process shell-file-name nil (list buffer nil) nil + shell-command-switch (format (Man-build-man-command) man-args))) (msg "")) (or (and (numberp exit-status)