changeset 1870:375ec21c9374

[xemacs-hg @ 2004-01-21 09:54:25 by stephent] npak fix Info Windows subprocess <87hdypzl0g.fsf_-_@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Wed, 21 Jan 2004 09:54:27 +0000
parents 11812ec0334c
children b37a2b08a901
files lisp/ChangeLog lisp/info.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Jan 21 09:03:47 2004 +0000
+++ b/lisp/ChangeLog	Wed Jan 21 09:54:27 2004 +0000
@@ -1,3 +1,8 @@
+2004-01-08  Nickolay Pakoulin  <npak@ispras.ru>
+
+	* info.el (Info-insert-file-contents): Use `shell-command-switch'
+	instead of hard-coded "-c".
+
 2003-12-15  Steve Youngs  <sryoungs@bigpond.net.au>
 
 	* wid-edit.el (lazy): New.
--- a/lisp/info.el	Wed Jan 21 09:03:47 2004 +0000
+++ b/lisp/info.el	Wed Jan 21 09:54:27 2004 +0000
@@ -1528,7 +1528,7 @@
 			   (format (cdr (car suff)) file)
 			 (concat (cdr (car suff)) " < " file))))
 	  (message "%s..." command)
-	  (call-process shell-file-name nil t nil "-c" command)
+	  (call-process shell-file-name nil t nil shell-command-switch command)
 	  (message "")
 	  (when visit
 	    (setq buffer-file-name file)