branch: elpa/mastodon
commit 9e3dfb5629e8e6d915e5304292ec34d1f1d06cae
Author: marty hiatt <[email protected]>
Commit: marty hiatt <[email protected]>

    notifs: add undo-boundary calls to timer function that modifies buffer
---
 lisp/mastodon-notifications.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/mastodon-notifications.el b/lisp/mastodon-notifications.el
index f5c1734a1c..63554cc447 100644
--- a/lisp/mastodon-notifications.el
+++ b/lisp/mastodon-notifications.el
@@ -1024,7 +1024,9 @@ Calls `mastodon-tl--update'."
             (message "New mastodon.el notification(s): %s" count)
           ;; run updates if in notifs buffer:
           (message "Updating mastodon.el notifications...")
+          (undo-boundary)
           (mastodon-tl--update)
+          (undo-boundary)
           (message "Updating mastodon.el notifications... Done."))
       (message "No new mastodon.el notifications")) ;; just to show we ran
     ;; cancel and set new timer:

Reply via email to