[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 60fba71: Don't use `let*' with just one binding
From: |
Juanma Barranquero |
Subject: |
master 60fba71: Don't use `let*' with just one binding |
Date: |
Mon, 23 Dec 2019 22:10:27 -0500 (EST) |
branch: master
commit 60fba710c5eef278b80623956ead0803f8607155
Author: Juanma Barranquero <address@hidden>
Commit: Juanma Barranquero <address@hidden>
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*'.
---
lisp/emacs-lisp/generator.el | 2 +-
lisp/registry.el | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/emacs-lisp/generator.el b/lisp/emacs-lisp/generator.el
index 9dba87e..9ea7643 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 f65e60c..c0170cb 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))))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 60fba71: Don't use `let*' with just one binding,
Juanma Barranquero <=