Skip to content

Commit 60fba71

Browse files
committed
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*'.
1 parent 5617c82 commit 60fba71

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lisp/emacs-lisp/generator.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ DYNAMIC-VAR bound to STATIC-VAR."
155155
(defun cps--add-state (kind body)
156156
"Create a new CPS state with body BODY and return the state's name."
157157
(declare (indent 1))
158-
(let* ((state (cps--gensym "cps-state-%s-" kind)))
158+
(let ((state (cps--gensym "cps-state-%s-" kind)))
159159
(push (list state body cps--cleanup-function) cps--states)
160160
(push state cps--bindings)
161161
state))

lisp/registry.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ Errors out if the key exists already."
317317
(message "reindexing: %d of %d (%.2f%%)"
318318
count expected (/ (* 100.0 count) expected)))
319319
(dolist (val (cdr-safe (assq tr v)))
320-
(let* ((value-keys (registry-lookup-secondary-value db tr val)))
320+
(let ((value-keys (registry-lookup-secondary-value db tr val)))
321321
(push key value-keys)
322322
(registry-lookup-secondary-value db tr val value-keys))))
323323
(oref db data))))))

0 commit comments

Comments
 (0)