Mercurial > emacs
changeset 98946:d862f80c7616
(Creating Strings): Add xrefs to `split-string-and-unquote' and
`combine-and-quote-strings'.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Mon, 20 Oct 2008 19:49:03 +0000 |
parents | aaf4c3b3bb3e |
children | 2873fd9bd963 |
files | doc/lispref/strings.texi |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/lispref/strings.texi Mon Oct 20 19:47:54 2008 +0000 +++ b/doc/lispref/strings.texi Mon Oct 20 19:49:03 2008 +0000 @@ -272,7 +272,9 @@ 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 @@ (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