summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2020-12-25 05:16:46 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2020-12-25 05:16:46 +0100
commit269cec13a2fc6ac18b675d0dadd07a3d4e074a72 (patch)
tree310349de42c6185770dcd30a5d343d01fd552237 /doc
parentd63ccde966a561756675b9c84b39c724662c82a8 (diff)
downloademacs-269cec13a2fc6ac18b675d0dadd07a3d4e074a72.tar.gz
Remove `string-slice' -- it's not very well defined
* doc/lispref/strings.texi (Creating Strings): Ditto. * lisp/emacs-lisp/subr-x.el (string-slice): Remove.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/strings.texi11
1 files changed, 0 insertions, 11 deletions
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi
index ef848ac5107..19b91471ed3 100644
--- a/doc/lispref/strings.texi
+++ b/doc/lispref/strings.texi
@@ -381,17 +381,6 @@ The default value of @var{separators} for @code{split-string}. Its
usual value is @w{@code{"[ \f\t\n\r\v]+"}}.
@end defvar
-@defun string-slice string regexp
-Split @var{string} into a list of strings on @var{regexp} boundaries.
-As opposed to @code{split-string}, the boundaries are included in the
-result set:
-
-@example
-(string-slice " two words " " +")
- @result{} (" two" " words" " ")
-@end example
-@end defun
-
@defun string-clean-whitespace string
Clean up the whitespace in @var{string} by collapsing stretches of
whitespace to a single space character, as well as removing all