]> git.eshelyaron.com Git - emacs.git/commit
Make seq-into return the sequence when no conversion needed
authorNicolas Petton <nicolas@petton.fr>
Fri, 16 Dec 2016 10:18:04 +0000 (11:18 +0100)
committerNicolas Petton <nicolas@petton.fr>
Fri, 16 Dec 2016 10:22:00 +0000 (11:22 +0100)
commitfb2fdb1435d2520c1cbf2a3d6a53128512a38458
tree3c62d01dcc3c4970eb9c8d0caf07a4666a8e3d21
parentcdf5340f51d4346c276102331e3ed29561753b26
Make seq-into return the sequence when no conversion needed

* lisp/emacs-lisp/seq.el (seq-into): Do not convert the sequence when
  no conversion is needed.
* test/lisp/emacs-lisp/seq-tests.el (test-seq-into-and-identity): Add
  a regression test checking for identity.
lisp/emacs-lisp/seq.el
test/lisp/emacs-lisp/seq-tests.el