* lisp/subr.el (string-split): New alias for split-string.
This commit is contained in:
parent
3ddf1a920d
commit
e6dc0cf2d3
2 changed files with 4 additions and 0 deletions
2
etc/NEWS
2
etc/NEWS
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue