]> git.eshelyaron.com Git - emacs.git/commit
* lisp/emacs-lisp/ring.el: Use lexical-binding
authorSimen Heggestøyl <simenheg@gmail.com>
Fri, 9 Sep 2016 16:46:55 +0000 (18:46 +0200)
committerSimen Heggestøyl <simenheg@gmail.com>
Fri, 9 Sep 2016 16:46:55 +0000 (18:46 +0200)
commit367f8568bc9e759ebdfb423648891efa0346456b
tree53af7a92fcac725150fe6fce916b27c9e0153473
parent8634efa38179f44c2cb5c52c25ced3f02fa5ec1a
* lisp/emacs-lisp/ring.el: Use lexical-binding

* lisp/emacs-lisp/ring.el (ring-elements): Don't use the RESULT
argument of `dotimes' when the iteration variable isn't referred by
it.
(ring-member): Don't pass nil as the RESULT argument of `dotimes'
since it's the default.
lisp/emacs-lisp/ring.el
test/lisp/emacs-lisp/ring-tests.el