diff options
Diffstat (limited to 'doc/ref')
-rw-r--r-- | doc/ref/guile/util.texi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/ref/guile/util.texi b/doc/ref/guile/util.texi index 016c21c7..79d9eaab 100644 --- a/doc/ref/guile/util.texi +++ b/doc/ref/guile/util.texi @@ -295,6 +295,14 @@ Converts @var{any} to a string, as per @var{write}. @defun path-append strings ... Joins all strings into a path, squeezing duplicated delimiters, but ensuring that all delimiters that are needed are there. + +Note that delimiters embedded inside the string, which aren't first or +last in a substring (or are the only thing in a string) are +kept. Meaning that +@example +(path-append "/" "hello") ⇒ "/hello" +(path-append "/usr/local/bin" "cmd") ⇒ "/usr/local/bin/cmd" +@end example @end defun |