diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-09-21 11:41:01 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-09-21 22:44:27 -0700 |
commit | b8b1c7ea87cce1287a518e50da0cec2d79e74878 (patch) | |
tree | cf9e97cacb0e174ef7ca7db78639df2d63d82819 | |
parent | ca635c229614ce3432f9a63168002c8f392385dd (diff) | |
download | dotfiles-b8b1c7ea87cce1287a518e50da0cec2d79e74878.tar.gz |
add workaround for Emacs bug#57986
-rw-r--r-- | .emacs.d/init.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index ae1150de..d01dfdb8 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -2546,6 +2546,8 @@ mutt's review view, after exiting EDITOR." "Like `message-newline-and-reformat', but remove unneeded lines." (interactive "P") (with-undo-amalgamate + ;; Work around Emacs bug#57986. + (when (looking-at "^>+\\s-*") (move-end-of-line 1)) (message-newline-and-reformat arg) (let ((re (concat message-cite-prefix-regexp "\\s-*$"))) (save-excursion |