(Man-getpage-in-background): Use shell-file-name
and shell-command-switch variables instead of hard-coded values.
This commit is contained in:
parent
1e77b11209
commit
ac00945e6e
2 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2004-05-11 Alexander Pohoyda <alexander.pohoyda@gmx.net> (tiny change)
|
||||
|
||||
* man.el (Man-getpage-in-background): Use shell-file-name
|
||||
and shell-command-switch variables instead of hard-coded
|
||||
values.
|
||||
|
||||
2004-05-11 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* iimage.el: New file.
|
||||
|
|
|
@ -732,11 +732,13 @@ all sections related to a subject, put something appropriate into the
|
|||
(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)
|
||||
|
|
Loading…
Add table
Reference in a new issue