summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorPhilip Kaludercic <philipk@posteo.net>2022-11-02 10:15:28 +0100
committerPhilip Kaludercic <philipk@posteo.net>2022-11-02 10:15:28 +0100
commitb21f80bbb971d5e5193c04823536265ecd2ca8e8 (patch)
tree3887391c185a3333e08dc33cc4fe9cb978210d1e /lisp/emacs-lisp
parentbbe5a1ca8374a078fe8a77dec0692b75e1b9efbc (diff)
downloademacs-b21f80bbb971d5e5193c04823536265ecd2ca8e8.tar.gz
emacs-b21f80bbb971d5e5193c04823536265ecd2ca8e8.tar.bz2
emacs-b21f80bbb971d5e5193c04823536265ecd2ca8e8.zip
; Replace 'let*' with 'let' where possible
* lisp/emacs-lisp/package-vc.el (package-vc--select-packages): Do it. (package-vc--read-archive-data): Do it.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/package-vc.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el
index 6134e6ed3da..74f1c35ea6b 100644
--- a/lisp/emacs-lisp/package-vc.el
+++ b/lisp/emacs-lisp/package-vc.el
@@ -116,7 +116,7 @@ symbol is used. The value must be a member of
It will ensure that all the packages are installed as source
packages. Finally SYM is set to VAL."
(pcase-dolist (`(,(and (pred symbolp) name) . ,spec) val)
- (let* ((pkg-desc (cadr (assoc name package-alist #'string=))))
+ (let ((pkg-desc (cadr (assoc name package-alist #'string=))))
(unless (and name (package-installed-p name) (package-vc-p pkg-desc))
(cond
((null spec)
@@ -232,9 +232,9 @@ return nil."
"Update `package-vc-archive-spec-alist' with the contents of ARCHIVE.
This function is meant to be used as a hook for
`package--read-archive-hook'."
- (let* ((contents-file (expand-file-name
- (format "archives/%s/elpa-packages.eld" archive)
- package-user-dir)))
+ (let ((contents-file (expand-file-name
+ (format "archives/%s/elpa-packages.eld" archive)
+ package-user-dir)))
(when (file-exists-p contents-file)
(with-temp-buffer
(let ((coding-system-for-read 'utf-8))