diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-05-04 20:41:51 +0200 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-05-04 20:41:51 +0200 |
commit | 0100fde06e64a695ab07d770d144171671440ab1 (patch) | |
tree | 493cd6b3df7642ccb709964da7a37650d0a71d54 /lisp | |
parent | 0812e60c6fef4ff251f45689f02e3e67d55d9f46 (diff) |
reorder after-change in compose
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/mastodon-toot.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el index 42b083e..763e334 100644 --- a/lisp/mastodon-toot.el +++ b/lisp/mastodon-toot.el @@ -1740,12 +1740,13 @@ EDIT means we are editing an existing toot, not composing a new one." ;; after-change: (make-local-variable 'after-change-functions) (cl-pushnew #'mastodon-toot--update-status-fields after-change-functions) - (mastodon-toot--refresh-attachments-display) + (cl-pushnew #'mastodon-toot--save-toot-text after-change-functions) + (cl-pushnew #'mastodon-toot--propertize-tags-and-handles after-change-functions) (mastodon-toot--update-status-fields) + (mastodon-toot--propertize-tags-and-handles) + (mastodon-toot--refresh-attachments-display) ;; draft toot text saving: (setq mastodon-toot-current-toot-text nil) - (cl-pushnew #'mastodon-toot--save-toot-text after-change-functions) - (cl-pushnew #'mastodon-toot--propertize-tags-and-handles after-change-functions) ;; if we set this before changing modes, it gets nuked: (setq mastodon-toot-previous-window-config previous-window-config) (when mastodon-toot--proportional-fonts-compose |