From b54fc1b6d405024c2b5c6019e60ee7ed0744b66c Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Tue, 22 Aug 2023 18:52:48 +0200 Subject: let* in update-meta-fields-alist --- lisp/mastodon-profile.el | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el index 261ee0c..a5abe5a 100644 --- a/lisp/mastodon-profile.el +++ b/lisp/mastodon-profile.el @@ -447,13 +447,13 @@ Returns the results as an alist." ;; offer empty fields if user currently has less than four filled: (while (< (length fields-old) 4) (setq fields-old (append fields-old '(("" . ""))))) - (let ((f-str "Metadata %s [%s/4] (max. 255 chars): ") - (alist - (cl-loop for f in fields-old - for x from 1 to 5 - collect - (cons (read-string (format f-str "key" x) (car f)) - (read-string (format f-str "value" x) (cdr f)))))) + (let* ((f-str "Metadata %s [%s/4] (max. 255 chars): ") + (alist + (cl-loop for f in fields-old + for x from 1 to 5 + collect + (cons (read-string (format f-str "key" x) (car f)) + (read-string (format f-str "value" x) (cdr f)))))) (mapcar (lambda (x) (cons (mastodon-profile--limit-to-255 (car x)) (mastodon-profile--limit-to-255 (cdr x)))) -- cgit v1.2.3