aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-profile.el14
1 files 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))))