]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't use `let*' with just one binding
authorJuanma Barranquero <lekktu@gmail.com>
Tue, 24 Dec 2019 03:09:46 +0000 (04:09 +0100)
committerJuanma Barranquero <lekktu@gmail.com>
Tue, 24 Dec 2019 03:09:46 +0000 (04:09 +0100)
* lisp/registry.el (registry-reindex):
* lisp/emacs-lisp/generator.el (cps--add-state):
Use `let', not `let*'.

lisp/emacs-lisp/generator.el
lisp/registry.el

index 9dba87eaeb4644c65a20431f496d2d21574037ec..9ea76433f3ac8bc63b4a41058a33767197e755ce 100644 (file)
@@ -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))
index f65e60caa35b09b054ef4d540bd5847da35ac92d..c0170cb50ecdabde14fc720ce95ef9b24ce3c538 100644 (file)
@@ -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))))))