]> git.eshelyaron.com Git - emacs.git/commit
Allow negative steps in stream-range
authorNicolas Petton <nicolas@petton.fr>
Mon, 10 Aug 2015 12:53:10 +0000 (14:53 +0200)
committerNicolas Petton <nicolas@petton.fr>
Mon, 10 Aug 2015 12:53:10 +0000 (14:53 +0200)
commit8c111a86bcd310df347822552969444e5b48dc45
tree904ea7fedebf912790d6208fb40adca96521618b
parentee7138acd38a4328b075e11e23bc0a3721fc2d08
Allow negative steps in stream-range

* lisp/emacs-lisp/stream.el (stream-range): Do not signal an error if
the step is negative.
* test/automated/stream-tests.el (stream-range-test): Add a regression
test for negative steps in stream-range.
lisp/emacs-lisp/stream.el
test/automated/stream-tests.el