diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-01-02 21:00:18 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-01-02 21:00:18 +1300 |
commit | 1944feefc4d426ed43b94ec39fa8d4c15e1fa2a6 (patch) | |
tree | 9fb358c614a8591e8244ad15cfe55e93b4220f90 /mutt | |
parent | Add new filetype pattern for muttrc (diff) | |
download | dotfiles-1944feefc4d426ed43b94ec39fa8d4c15e1fa2a6.tar.gz dotfiles-1944feefc4d426ed43b94ec39fa8d4c15e1fa2a6.zip |
Don't edit message headers using Emacs
Until such time as I can figure out how to make format=flowed work
sanely with these.
Diffstat (limited to 'mutt')
-rwxr-xr-x | mutt/muttrc.d/src | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mutt/muttrc.d/src b/mutt/muttrc.d/src index 584a2785..cc2eb4ef 100755 --- a/mutt/muttrc.d/src +++ b/mutt/muttrc.d/src @@ -4,3 +4,10 @@ for rc in "$HOME"/.muttrc.d/*.rc ; do [ -e "$rc" ] || continue cat -- "$rc" done + +# Special case: if using GNU Emacs, emit a line to disable edit_headers, just +# because at the moment I haven't worked out how to make this work sanely with +# messages-are-flowing in message-mode. +case $VISUAL in + emacs|emacsclient) printf 'set edit_headers = no\n' ;; +esac |