aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-toot.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-06-02 13:21:47 +0200
committermarty hiatt <martianhiatus@riseup.net>2024-06-02 13:21:47 +0200
commitf4a4d31f29956048f44fb9982788ff17753585de (patch)
tree52b9166fc2cc66ae4663f891b8dfc5ddb926d935 /lisp/mastodon-toot.el
parent06cbc031c78210a4950a748b20142e0008728bef (diff)
parent63a07d2ff4bff73d377ab4931cf0fb1fd7d51146 (diff)
Merge branch 'reload-paginate' into develop
Diffstat (limited to 'lisp/mastodon-toot.el')
-rw-r--r--lisp/mastodon-toot.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el
index 654918c..aaff19b 100644
--- a/lisp/mastodon-toot.el
+++ b/lisp/mastodon-toot.el
@@ -906,6 +906,7 @@ instance to edit a toot."
(mastodon-http--triage
response
(lambda (_)
+ ;; kill buffer:
(mastodon-toot--kill)
(if scheduled
(message "Toot scheduled!")
@@ -914,6 +915,7 @@ instance to edit a toot."
(when scheduled-id
(mastodon-views--cancel-scheduled-toot
scheduled-id :no-confirm))
+ ;; window config:
(mastodon-toot--restore-previous-window-config prev-window-config)
;; reload previous view in certain cases:
;; we reload: - when we have been editing