]> git.eshelyaron.com Git - emacs.git/commit
Simplify dolist and dotimes
authorMattias Engdegård <mattiase@acm.org>
Wed, 7 Sep 2022 11:48:20 +0000 (13:48 +0200)
committerMattias Engdegård <mattiase@acm.org>
Wed, 7 Sep 2022 12:05:28 +0000 (14:05 +0200)
commitc6c9dfc8670f5698634a8d5853853056ff928974
treea774e967c147407cb6d319ab89c5b37889df1e2c
parent50020d026cda1fdd70d8a08e08185dbb7183646a
Simplify dolist and dotimes

We no longer care enough about non-lexbind code generation for it
to merit special attention; better to keep the code simple.

Suggested by Philip Kaludercic in
https://lists.gnu.org/archive/html/emacs-devel/2022-09/msg00354.html .

* lisp/subr.el (dolist, dotimes): Use uninterned symbols for variable
bindings generated by the macros, and discard the alternative code
versions for non-lexbind code.  Use sensible variable names.
lisp/subr.el