`combine-and-quote-strings'.
+2008-10-20 Eli Zaretskii <eliz@gnu.org>
+
+ * processes.texi (Shell Arguments): Document `split-string-and-unquote'
+ and `combine-and-quote-strings'.
+
+ * strings.texi (Creating Strings): Add xrefs for them.
+
2008-10-19 Eli Zaretskii <eliz@gnu.org>
* elisp.texi (Top): Make descriptive text for "Reading File Names"
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
(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
*** `window-full-width-p' returns t if a window is as wide as its
frame.
-*** `split-string-and-unquote' does (what?)
++++
+*** `split-string-and-unquote' splits a string into a list of substrings
+on the boundaries of a given delimiter, and unquotes the substrings that
+are quoted. Useful for taking apart shell commands.
-*** `combine-and-quote-strings' does (what?)
++++
+*** `combine-and-quote-strings' produces a single string from a list of strings
+sticking a separator string in between each pair, and quoting those
+strings that include the separator as their substring. Useful for
+consing shell command lines from the individual arguments.
*** `image-refresh' refreshes all images associated with a given image
specification.