aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-profile.el
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2022-03-14 12:50:23 +0100
committermousebot <mousebot@riseup.net>2022-03-14 12:50:23 +0100
commit262da506ae52c619ce76b83488920cf4ae4b8b1b (patch)
treedb54bd60d7186ee6a8afb4213bf69be10dedc86b /lisp/mastodon-profile.el
parent12153c2f8d6976b15bba9bd6c51e9ebf655a937d (diff)
add header line to update profile note buffer
Diffstat (limited to 'lisp/mastodon-profile.el')
-rw-r--r--lisp/mastodon-profile.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el
index 89dd02d..6065bdd 100644
--- a/lisp/mastodon-profile.el
+++ b/lisp/mastodon-profile.el
@@ -207,6 +207,10 @@ JSON is the data returned by the server."
(buffer (get-buffer-create "*mastodon-update-profile*"))
(inhibit-read-only t))
(switch-to-buffer-other-window buffer)
+ (setq-local header-line-format
+ (propertize
+ "Edit your profile note. C-c C-c to send, C-c C-k to cancel."
+ 'face font-lock-comment-face))
(mastodon-profile-update-mode t)
(insert note)
(goto-char (point-min))