From cbef7ab3c3b5cb452e9c5409f3fa12cbba0e7558 Mon Sep 17 00:00:00 2001 From: mousebot Date: Tue, 21 Dec 2021 19:23:44 +0100 Subject: remove all ^M from update profile note buffer --- lisp/mastodon-profile.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el index ec9adaa..c7ef718 100644 --- a/lisp/mastodon-profile.el +++ b/lisp/mastodon-profile.el @@ -213,6 +213,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 () -- cgit v1.2.3