diff options
author | mooseyboots <66318400+mooseyboots@users.noreply.github.com> | 2021-12-21 10:12:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-21 10:12:34 +0100 |
commit | 0fd2b1c4f58e04760e86e8d475128fb66b8a21a7 (patch) | |
tree | 35922154df0d165ebc0ff98f5d37f9fba0c2454e /lisp | |
parent | 5095797ef32b922d2a624fa6beb970b5e9cf5ca0 (diff) | |
parent | c7b33148b32c4036b88a6d7a9feabbdc8b4cde6a (diff) |
Merge pull request #241 from mooseyboots/toot-fix
Fix: make after-change-functions buffer local.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/mastodon-toot.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el index 14264dc..e339c4d 100644 --- a/lisp/mastodon-toot.el +++ b/lisp/mastodon-toot.el @@ -401,6 +401,7 @@ If REPLY-TO-ID is provided, set the MASTODON-TOOT--REPLY-TO-ID var." (when (not buffer-exists) (mastodon-toot--display-docs-and-status-fields) (mastodon-toot--setup-as-reply reply-to-user reply-to-id)) + (make-local-variable 'after-change-functions) (push #'mastodon-toot--update-status-fields after-change-functions) (mastodon-toot--update-status-fields) (mastodon-toot-mode t))) |