[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/mastodon 4697c073e8 19/63: message -> user-error
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/mastodon 4697c073e8 19/63: message -> user-error |
Date: |
Sun, 4 Aug 2024 04:00:30 -0400 (EDT) |
branch: elpa/mastodon
commit 4697c073e871afa2d69b64d03a7b03354e4e4dba
Author: marty hiatt <martianhiatus@riseup.net>
Commit: marty hiatt <martianhiatus@riseup.net>
message -> user-error
---
lisp/mastodon-tl.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 128298d526..c4585b82e8 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -1361,7 +1361,7 @@ displayed when the duration is smaller than a minute)."
cell))
options-alist)))
(if (null poll)
- (message "No poll here.")
+ (user-error "No poll here.")
(list
;; var "option" = just the cdr, a cons of option number and desc
(cdr (assoc (completing-read "Poll option to vote for: "
@@ -1373,7 +1373,7 @@ displayed when the duration is smaller than a minute)."
"If there is a poll at point, prompt user for OPTION to vote on it."
(interactive (mastodon-tl--read-poll-option))
(if (null (mastodon-tl--field 'poll (mastodon-tl--property 'item-json)))
- (message "No poll here.")
+ (user-error "No poll here.")
(let* ((toot (mastodon-tl--property 'item-json))
(poll (mastodon-tl--field 'poll toot))
(poll-id (alist-get 'id poll))
- [nongnu] elpa/mastodon dad54cccbc 46/63: fold-post-toggle, (continued)
- [nongnu] elpa/mastodon dad54cccbc 46/63: fold-post-toggle, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 80ce719004 38/63: flymake our user-error mess, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 35a26600af 53/63: reimplement folding via insert body only., ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 0ef13ab348 55/63: fix prev-item-id, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 49261b91b0 59/63: Revert "replace persist with multisession", ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 351bd73875 54/63: fix prev-item-id, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 712a2af648 29/63: update info, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 0cd77c1880 37/63: Merge branch 'with-toot-item' into develop, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 82931c0869 14/63: readme, emoji, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 4e8d286164 12/63: mastodon-use-emojify customize, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 4697c073e8 19/63: message -> user-error,
ELPA Syncer <=
- [nongnu] elpa/mastodon 344da8f2f2 23/63: fold toots customize/ refactor, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon db227a8c25 31/63: flip an if clause, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 4844a1147a 44/63: no newline after READ MORE heading, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon dd1b0ab770 42/63: add mastodon-tl--fold-post, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 30b02296ca 48/63: fix where we leave point on (un)folding, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 8d6983667d 51/63: refactor toot--toggle-bookmark, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon da0e348bc7 61/63: Revert "multisession var in -toot.el", ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 45903de823 63/63: info update, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon 3f9b305b5f 24/63: flymake, ELPA Syncer, 2024/08/04
- [nongnu] elpa/mastodon bb1b33e2fb 39/63: toot.el: use mastodon-toot--base-toot-or-item-json, ELPA Syncer, 2024/08/04