aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-16 15:09:30 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-16 15:09:30 +0100
commitd508373cfcc7df5314acf1714e3caa9e023dc2da (patch)
tree8e5362cc6ad4cfd6d5dd190a54640830978bb098
parent4906b30a825e72c2303b09b9a0d9b02ea72187c3 (diff)
erase-buffer for profile view
-rw-r--r--lisp/mastodon-profile.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el
index 20323cb..32fb63b 100644
--- a/lisp/mastodon-profile.el
+++ b/lisp/mastodon-profile.el
@@ -665,6 +665,7 @@ HEADERS means also fetch link headers for pagination."
(with-current-buffer (get-buffer-create buffer)
(let ((inhibit-read-only t))
(switch-to-buffer buffer)
+ (erase-buffer)
(mastodon-mode)
(mastodon-profile-mode)
(setq mastodon-profile--account account)