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*'.
This commit is contained in:
parent
5617c82b37
commit
60fba710c5
2 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
|
|
|
@ -317,7 +317,7 @@ Errors out if the key exists already."
|
|||
(message "reindexing: %d of %d (%.2f%%)"
|
||||
count expected (/ (* 100.0 count) expected)))
|
||||
(dolist (val (cdr-safe (assq tr v)))
|
||||
(let* ((value-keys (registry-lookup-secondary-value db tr val)))
|
||||
(let ((value-keys (registry-lookup-secondary-value db tr val)))
|
||||
(push key value-keys)
|
||||
(registry-lookup-secondary-value db tr val value-keys))))
|
||||
(oref db data))))))
|
||||
|
|
Loading…
Add table
Reference in a new issue