]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/seq.el (seq-concatenate): Accept non-`sequencep` sequences
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 7 Mar 2022 14:59:43 +0000 (09:59 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 7 Mar 2022 14:59:43 +0000 (09:59 -0500)
lisp/emacs-lisp/seq.el

index abfe51d32b5b432d55fa24f758be50eed3685d61..5ea9fae2e9b5f122b579887237dff3e3751b313a 100644 (file)
@@ -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))