* lisp/subr.el (string-split): New alias for split-string.

This commit is contained in:
Stefan Kangas 2022-09-09 23:51:05 +02:00
parent 3ddf1a920d
commit e6dc0cf2d3
2 changed files with 4 additions and 0 deletions

View file

@ -3679,6 +3679,8 @@ to preserve the old behavior, apply
'(take N LIST)' returns the first N elements of LIST; 'ntake' does
the same but works by modifying LIST destructively.
---
** 'string-split' is now an alias for 'split-string'.
* Changes in Emacs 29.1 on Non-Free Operating Systems

View file

@ -5204,6 +5204,8 @@ Modifies the match data; use `save-match-data' if necessary."
(nreverse list)))
(defalias 'string-split #'split-string)
(defun combine-and-quote-strings (strings &optional separator)
"Concatenate the STRINGS, adding the SEPARATOR (default \" \").
This tries to quote the strings to avoid ambiguity such that