]> git.eshelyaron.com Git - emacs.git/commit
* lisp/emacs-lisp/seq.el (seq-doseq): Tighten the code
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 24 Apr 2015 20:11:35 +0000 (16:11 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 24 Apr 2015 20:11:35 +0000 (16:11 -0400)
commite224c9465dfe7033b11c0aeb830298c101c9bdcc
tree72847f19bb9220eedc8d729c3c813c4bea36c13b
parent18a78f8215cc0052bf41d23b8d594cde50d776dd
* lisp/emacs-lisp/seq.el (seq-doseq): Tighten the code

(seq-doseq): Fix out-of-scope binding.
Don't call `seq-length at every iteration.
Reduce `if's from 3 to 2 per iteration.
(emacs-lisp-mode-hook): Don't tweak in Emacsā‰„25.
doc/lispref/sequences.texi
lisp/emacs-lisp/seq.el