aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-profile.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/mastodon-profile.el')
-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 e8025ed..98e5090 100644
--- a/lisp/mastodon-profile.el
+++ b/lisp/mastodon-profile.el
@@ -218,6 +218,7 @@ extra keybindings."
(mastodon-profile-update-mode t)
(insert note)
(goto-char (point-min))
+ (delete-trailing-whitespace) ; remove all ^M's
(message "Edit your profile note. C-c C-c to send, C-c C-k to cancel.")))
(defun mastodon-profile--user-profile-send-updated ()