]> git.eshelyaron.com Git - emacs.git/commit
Fix seq-subseq and cl-subseq for bad bounding indices
authorLeo Liu <sdl.web@gmail.com>
Sun, 18 Jan 2015 06:03:59 +0000 (14:03 +0800)
committerLeo Liu <sdl.web@gmail.com>
Sun, 18 Jan 2015 06:04:31 +0000 (14:04 +0800)
commit253d44bd27b7d90b614b6b968a3b125eeb0a48f2
tree1c78770cc1a038e6ac5ebaa569d6a2044c1cfe41
parent909126de0f6d2e53aec44c97abccee5b32b25f28
Fix seq-subseq and cl-subseq for bad bounding indices

Fixes: debbugs:19434 debbugs:19519
* lisp/emacs-lisp/cl-extra.el (cl-subseq): Use seq-subseq and fix
multiple evaluation.

* lisp/emacs-lisp/seq.el (seq-subseq): Throw bad bounding indices
error.

* test/automated/seq-tests.el (test-seq-subseq): Add more tests.
lisp/ChangeLog
lisp/emacs-lisp/cl-extra.el
lisp/emacs-lisp/seq.el
test/ChangeLog
test/automated/seq-tests.el