diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-04-01 13:27:53 +0200 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-04-01 13:27:53 +0200 |
commit | aa982db0c5bc6e9e02a79ada9089cc78199789b9 (patch) | |
tree | eedfc1d935a317027a53b6cbf3510f094d4245cd /lisp | |
parent | a41c716456f5a8b4793646f453c81959cf9db0fe (diff) |
add edit toot to compose-buffer-p
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/mastodon-toot.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el index 9aee54e..a1e6ed3 100644 --- a/lisp/mastodon-toot.el +++ b/lisp/mastodon-toot.el @@ -1609,7 +1609,8 @@ Added to `after-change-functions'." (defun mastodon-toot--compose-buffer-p () "Return t if compose buffer is current." - (mastodon-tl--buffer-type-eq 'new-toot)) + (or (mastodon-tl--buffer-type-eq 'edit-toot) + (mastodon-tl--buffer-type-eq 'new-toot))) ;; NB: now that we have toot drafts, to ensure offline composing remains ;; possible, avoid any direct requests here: |