aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-22 10:08:46 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-22 10:09:19 +0100
commit59e2137660da97e38393f1dff928b90aa1de121e (patch)
treeda0966e8da79e5fb8a5ec2a88b31c1e6094023c7
parent90df6d50aa5b1557e7bd69a49ec2925b6f4da7ab (diff)
fix list-name grabbing in list add/delete/edit
-rw-r--r--lisp/mastodon-tl.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 34048e7..47947d2 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -1493,7 +1493,7 @@ If ID is provided, use that list."
(interactive)
(let* ((list-names (unless id (mastodon-tl--get-lists-names)))
(name-old (if id
- (get-text-property (point) 'list-id)
+ (get-text-property (point) 'list-name)
(completing-read "Edit list: "
list-names)))
(id (or id (mastodon-tl--get-list-id name-old)))
@@ -1637,7 +1637,7 @@ a: add account to this list, r: remove account from this list"
If ID is provided, use that list."
(interactive)
(let* ((list-name (if id
- (get-text-property (point) 'list-id)
+ (get-text-property (point) 'list-name)
(completing-read "Add account to list: "
(mastodon-tl--get-lists-names) nil t)))
(list-id (or id (mastodon-tl--get-list-id list-name)))
@@ -1667,7 +1667,7 @@ If ID is provided, use that list."
If ID is provided, use that list."
(interactive)
(let* ((list-name (if id
- (get-text-property (point) 'list-id)
+ (get-text-property (point) 'list-name)
(completing-read "Remove account from list: "
(mastodon-tl--get-lists-names) nil t)))
(list-id (or id (mastodon-tl--get-list-id list-name)))