aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
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:08:46 +0100
commit4e483bd8862282991793409ca49fb6fa66bb8109 (patch)
treedc58ce0ff548aa10ba8259298ff6441dd6d06393 /lisp/mastodon-tl.el
parentd47a5ebab961be106d1745cbb36037787edcbbba (diff)
fix list-name grabbing in list add/delete/edit
Diffstat (limited to 'lisp/mastodon-tl.el')
-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 b1cbce1..f75398f 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)))
@@ -1648,7 +1648,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)))
@@ -1678,7 +1678,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)))