]> git.eshelyaron.com Git - emacs.git/commit
Improve seq-concatenate for new sequence types
authorNicolas Petton <nicolas@petton.fr>
Wed, 26 Aug 2015 22:21:38 +0000 (00:21 +0200)
committerNicolas Petton <nicolas@petton.fr>
Wed, 26 Aug 2015 22:29:22 +0000 (00:29 +0200)
commit259a643d7f7c56976ff794cbdba8f5c70c795091
treebb42778be29c91007eae2c7e4f2f4a664fcd950c
parent64fbdc9825ad98ebbc8c021442c1f3c3ba0fd1b1
Improve seq-concatenate for new sequence types

Use the new `seq-into-sequence' in seqs passed to `seq-concatenate' to
ensure that concatenation happens on sequences only.  This makes it
possible to use `seq-concatenate' for new types of seqs.

* lisp/emacs-lisp/seq.el (seq-into-sequence, seq-concatenate): New
function used in `seq-concatenate'.
* test/automated/seq-tests.el (test-seq-into-sequence): New unit test
for seq-into-sequence.
lisp/emacs-lisp/seq.el
test/automated/seq-tests.el