From: Juanma Barranquero Date: Tue, 24 Dec 2019 03:09:46 +0000 (+0100) Subject: Don't use `let*' with just one binding X-Git-Tag: emacs-28.0.90~7953 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=60fba710c5eef278b80623956ead0803f8607155;p=emacs.git 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*'. --- 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)) diff --git a/lisp/registry.el b/lisp/registry.el index f65e60caa35..c0170cb50ec 100644 --- a/lisp/registry.el +++ b/lisp/registry.el @@ -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))))))