]> git.eshelyaron.com Git - emacs.git/commit
New convenience functions in seq.el
authorNicolas Petton <nicolas@petton.fr>
Tue, 18 Dec 2018 08:42:50 +0000 (09:42 +0100)
committerNicolas Petton <nicolas@petton.fr>
Tue, 18 Dec 2018 08:42:50 +0000 (09:42 +0100)
commit5a9eba603d193324c7ff8c654fa28c6b4f3928f7
treeda277418a4a17987e8ba30642de863f09b9f5bc1
parent73b2f7ac698601d3dfbedd7949d95bc506497c50
New convenience functions in seq.el

Functions to access the first or all but the first elements of
sequences have been repeatedly asked for (the last occurrence being
https://github.com/NicolasPetton/seq.el/issues/9).

* lisp/emacs-lisp/seq.el (seq-first, seq-rest): New functions.
* test/lisp/emacs-lisp/seq-tests.el (test-seq-first, test-seq-rest):
New tests for seq-first and seq-rest.
lisp/emacs-lisp/seq.el
test/lisp/emacs-lisp/seq-tests.el