From 907c8f7e86277d36eb1eac99ba8abe2b848eed57 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(+) (limited to 'lisp') 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 () -- cgit v1.2.3