summaryrefslogtreecommitdiff
path: root/doc/lispref/strings.texi
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2008-10-20 19:54:28 +0000
committerEli Zaretskii <eliz@gnu.org>2008-10-20 19:54:28 +0000
commitfd6f900c21e90d5dd6661e7b29f5ffe2c049400c (patch)
tree44a0cd26bc3a4dfe980335ffd2145b70f2368db4 /doc/lispref/strings.texi
parenta873ee3dea608126b079c08788855cd5b8ac3701 (diff)
downloademacs-fd6f900c21e90d5dd6661e7b29f5ffe2c049400c.tar.gz
(Creating Strings): Add xrefs to `split-string-and-unquote' and
`combine-and-quote-strings'.
Diffstat (limited to 'doc/lispref/strings.texi')
-rw-r--r--doc/lispref/strings.texi8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi
index 37c19fc4f3e..1b57e665388 100644
--- a/doc/lispref/strings.texi
+++ b/doc/lispref/strings.texi
@@ -272,7 +272,9 @@ printed form is with @code{format} (@pxref{Formatting Strings}) or
For information about other concatenation functions, see the
description of @code{mapconcat} in @ref{Mapping Functions},
@code{vconcat} in @ref{Vector Functions}, and @code{append} in @ref{Building
-Lists}.
+Lists}. For concatenating individual command-line arguments into a
+string to be used as a shell command, see @ref{Shell Arguments,
+combine-and-quote-strings}.
@end defun
@defun split-string string &optional separators omit-nulls
@@ -357,6 +359,10 @@ practice:
(split-string "ooo" "\\|o+" t)
@result{} ("o" "o" "o")
@end example
+
+If you need to split a string that is a shell command, where
+individual arguments could be quoted, see @ref{Shell Arguments,
+split-string-and-unquote}.
@end defun
@defvar split-string-default-separators