]> git.eshelyaron.com Git - emacs.git/commit
Address generator feedback
authorDaniel Colascione <dancol@dancol.org>
Tue, 3 Mar 2015 18:56:24 +0000 (10:56 -0800)
committerDaniel Colascione <dancol@dancol.org>
Tue, 3 Mar 2015 18:56:24 +0000 (10:56 -0800)
commitcecf4afebb394351a78c48d05e81a1e55af6da32
tree983591013d5ea7c5375546948044b519dff1680d
parent02eb227e8163c6212e814b5b7e191b4d34306872
Address generator feedback

* doc/lispref/control.texi (Generators): Correct missing word.  Clarify which
forms are legal in which parts of `unwind-protect'.  Fix orphaned
close parenthesis.

* lisp/emacs-lisp/generator.el: Make globals conform to elisp
style throughout.  Use more efficient font-lock patterns.
(cps-inhibit-atomic-optimization): Rename from
`cps-disable-atomic-optimization'.
(cps--gensym): New macro; replaces `cl-gensym' throughout.
(cps-generate-evaluator): Move the `iter-yield' local macro
definition here
(iter-defun, iter-lambda): from here.

* test/automated/generator-tests.el (cps-test-iter-close-finalizer):
Rename `gc-precise-p' to `gc-precise'.

* test/automated/generator-tests.el (cps-testcase): Use
`cps-inhibit-atomic-optimization' instead of
`cps-disable-atomic-optimization'.
doc/lispref/ChangeLog
doc/lispref/control.texi
lisp/ChangeLog
lisp/emacs-lisp/generator.el
test/ChangeLog
test/automated/generator-tests.el