summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2019-12-24 04:09:46 +0100
committerJuanma Barranquero <lekktu@gmail.com>2019-12-24 04:09:46 +0100
commit60fba710c5eef278b80623956ead0803f8607155 (patch)
treea57362075e7151c86bc80d50a7a5e045e472f123 /lisp/emacs-lisp
parent5617c82b37b9fb37f9279347b05782718dc331b6 (diff)
downloademacs-60fba710c5eef278b80623956ead0803f8607155.tar.gz
emacs-60fba710c5eef278b80623956ead0803f8607155.tar.bz2
emacs-60fba710c5eef278b80623956ead0803f8607155.zip
Don't use `let*' with just one binding
* lisp/registry.el (registry-reindex): * lisp/emacs-lisp/generator.el (cps--add-state): Use `let', not `let*'.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/generator.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/generator.el b/lisp/emacs-lisp/generator.el
index 9dba87eaeb4..9ea76433f3a 100644
--- a/lisp/emacs-lisp/generator.el
+++ b/lisp/emacs-lisp/generator.el
@@ -155,7 +155,7 @@ DYNAMIC-VAR bound to STATIC-VAR."
(defun cps--add-state (kind body)
"Create a new CPS state with body BODY and return the state's name."
(declare (indent 1))
- (let* ((state (cps--gensym "cps-state-%s-" kind)))
+ (let ((state (cps--gensym "cps-state-%s-" kind)))
(push (list state body cps--cleanup-function) cps--states)
(push state cps--bindings)
state))