# HG changeset patch # User Eli Zaretskii # Date 1084267736 0 # Node ID 4729059e27b8a76a3a443997908450c03439828c # Parent bfe54b4136f18f5c9bef813c6d181045e192bbce (Man-getpage-in-background): Use shell-file-name and shell-command-switch variables instead of hard-coded values. diff -r bfe54b4136f1 -r 4729059e27b8 lisp/man.el --- 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)