[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/mastodon 52b7775cb7 19/27: views: ensure things have item-
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/mastodon 52b7775cb7 19/27: views: ensure things have item-type prop, and string-trim scheduleds |
Date: |
Fri, 23 Feb 2024 13:00:56 -0500 (EST) |
branch: elpa/mastodon
commit 52b7775cb7ce96fb023078ed5048f8bd5c080bc9
Author: marty hiatt <martianhiatus@riseup.net>
Commit: marty hiatt <martianhiatus@riseup.net>
views: ensure things have item-type prop, and string-trim scheduleds
---
lisp/mastodon-views.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lisp/mastodon-views.el b/lisp/mastodon-views.el
index 8e04434249..d0f310b78c 100644
--- a/lisp/mastodon-views.el
+++ b/lisp/mastodon-views.el
@@ -509,11 +509,11 @@ JSON is the data returned by the server."
"Insert scheduled TOOT into the buffer."
(let-alist toot
(insert
- (propertize (concat .params.text
+ (propertize (concat (string-trim .params.text)
" | "
(mastodon-toot--iso-to-human .scheduled_at))
'byline t ; so we nav here
- 'item-id "0" ; so we nav here
+ 'item-type 'scheduled ; so we nav here
'face 'font-lock-comment-face
'keymap mastodon-views--scheduled-map
'scheduled-json toot
@@ -619,6 +619,7 @@ JSON is the filters data."
(insert
(propertize filter-string
'item-id id ;for goto-next-filter compat
+ 'item-type 'filter
'phrase phrase
'byline t) ;for goto-next-filter compat
"\n\n")))
- [nongnu] elpa/mastodon 9caa0b58ea 10/27: docstrings, (continued)
- [nongnu] elpa/mastodon 9caa0b58ea 10/27: docstrings, ELPA Syncer, 2024/02/23
- [nongnu] elpa/mastodon 445d176b2a 02/27: Replace 'switch-to-buffer' with 'display-buffer' or 'pop-to-buffer', ELPA Syncer, 2024/02/23
- [nongnu] elpa/mastodon 58ec54b666 17/27: update: skip scheduled-statuses view, ELPA Syncer, 2024/02/23
- [nongnu] elpa/mastodon d66e27be92 23/27: Merge branch 'develop', ELPA Syncer, 2024/02/23
- [nongnu] elpa/mastodon 2e6bcd41a9 05/27: Use pop-to-buffer so that new window is selected, ELPA Syncer, 2024/02/23
- [nongnu] elpa/mastodon 6a5152b6cb 03/27: Use 'read-buffer' to choose a buffer, ELPA Syncer, 2024/02/23
- [nongnu] elpa/mastodon 51132d0868 08/27: Merge pull request 'Use display-buffer to allow customization' (#522) from rahguzar/mastodon.el:display-buffer into develop, ELPA Syncer, 2024/02/23
- [nongnu] elpa/mastodon 25bae1042f 25/27: Merge branch 'develop', ELPA Syncer, 2024/02/23
- [nongnu] elpa/mastodon c84630f0f1 27/27: readme: add nb re .info docs, ELPA Syncer, 2024/02/23
- [nongnu] elpa/mastodon 87b0b347b5 13/27: readme completion, ELPA Syncer, 2024/02/23
- [nongnu] elpa/mastodon 52b7775cb7 19/27: views: ensure things have item-type prop, and string-trim scheduleds,
ELPA Syncer <=