aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/os.texi4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi
index 9352a929a7a..42be60449de 100644
--- a/doc/lispref/os.texi
+++ b/doc/lispref/os.texi
@@ -3042,7 +3042,9 @@ with @samp{-}, or might contain shell metacharacters like @samp{;}.
3042Although functions like @code{shell-quote-argument} can help avoid 3042Although functions like @code{shell-quote-argument} can help avoid
3043this sort of problem, they are not panaceas; for example, on a POSIX 3043this sort of problem, they are not panaceas; for example, on a POSIX
3044platform @code{shell-quote-argument} quotes shell metacharacters but 3044platform @code{shell-quote-argument} quotes shell metacharacters but
3045not leading @samp{-}. @xref{Shell Arguments}. Typically it is safer 3045not leading @samp{-}. On MS-Windows, quoting for @samp{%} assumes
3046none of the environment variables have @samp{^} in their name.
3047@xref{Shell Arguments}. Typically it is safer
3046to use @code{call-process} than a subshell. @xref{Synchronous 3048to use @code{call-process} than a subshell. @xref{Synchronous
3047Processes}. And it is safer yet to use builtin Emacs functions; for 3049Processes}. And it is safer yet to use builtin Emacs functions; for
3048example, use @code{(rename-file "@var{a}" "@var{b}" t)} instead of 3050example, use @code{(rename-file "@var{a}" "@var{b}" t)} instead of