mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -08:00
* lisp/emacs-lisp/seq.el (seq-concatenate): Accept non-sequencep sequences
This commit is contained in:
parent
418e5da5d3
commit
d67ca6739c
1 changed files with 1 additions and 0 deletions
|
|
@ -299,6 +299,7 @@ sorted. FUNCTION must be a function of one argument."
|
|||
TYPE must be one of following symbols: vector, string or list.
|
||||
|
||||
\n(fn TYPE SEQUENCE...)"
|
||||
(setq sequences (mapcar #'seq-into-sequence sequences))
|
||||
(pcase type
|
||||
('vector (apply #'vconcat sequences))
|
||||
('string (apply #'concat sequences))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue