aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-toot.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-18 14:12:59 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-18 18:21:09 +0100
commite6d2c3ab8cc616799ccff979fa66e3d83c43f9f8 (patch)
treeea1aea22e607cd2ee74dbb05c93574a6fb932db0 /lisp/mastodon-toot.el
parenta7af764df9175b72f067db7dfeeb820e48ec9232 (diff)
factor out mastodon-views.el for minor views
These are currently lists, follow suggestions, filters, scheduled toots, follow requests, and instance descriptions. fix remanant tl fun names in views stray views fun rename in notifs.el stray views funs in notifs stray views funs in toot.el views file commentary
Diffstat (limited to 'lisp/mastodon-toot.el')
-rw-r--r--lisp/mastodon-toot.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el
index 08b3467..3dc6522 100644
--- a/lisp/mastodon-toot.el
+++ b/lisp/mastodon-toot.el
@@ -78,8 +78,8 @@
(autoload 'mastodon-http--build-array-params-alist "mastodon-http")
(autoload 'mastodon-http--put "mastodon-http")
(autoload 'mastodon-tl--symbol "mastodon-tl")
-(autoload 'mastodon-tl--view-scheduled-toots "mastodon-tl")
-(autoload 'mastodon-tl--cancel-scheduled-toot "mastodon-toot")
+(autoload 'mastodon-views--view-scheduled-toots "mastodon-views")
+(autoload 'mastodon-views--cancel-scheduled-toot "mastodon-views")
(autoload 'org-read-date "org")
(autoload 'iso8601-parse "iso8601")
(autoload 'mastodon-tl--buffer-type-eq "mastodon-tl")
@@ -805,7 +805,7 @@ instance to edit a toot."
(message "Toot toot!"))
;; cancel scheduled toot if we were editing it:
(when scheduled-id
- (mastodon-tl--cancel-scheduled-toot
+ (mastodon-views--cancel-scheduled-toot
scheduled-id :no-confirm))
(mastodon-toot--restore-previous-window-config
prev-window-config))))))))
@@ -1263,7 +1263,7 @@ With RESCHEDULE, reschedule the scheduled toot at point without editing."
(mastodon-http--triage response
(lambda ()
;; reschedule means we are in scheduled toots view:
- (mastodon-tl--view-scheduled-toots)
+ (mastodon-views--view-scheduled-toots)
(message
(format "Toot rescheduled for %s." msg-str))))))))))