diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-01-02 23:29:09 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-01-02 23:29:09 +1300 |
commit | 1c96eaf0b739228c3a2353f3f015d0258e052d03 (patch) | |
tree | b9d64393e8de6ba0d611737cfa283d90f0714e70 /mutt/muttrc.d/src | |
parent | Merge branch 'release/v4.4.0' (diff) | |
parent | Bump VERSION (diff) | |
download | dotfiles-1c96eaf0b739228c3a2353f3f015d0258e052d03.tar.gz dotfiles-1c96eaf0b739228c3a2353f3f015d0258e052d03.zip |
Merge branch 'release/v4.5.0'v4.5.0
* release/v4.5.0:
Bump VERSION
Add some more elementary Emacs configuration
Add Emacs settings for message-mode
Tidy packages list in .emacs a bit
Add emacsclient logic to $VISUAL set
Don't edit message headers using Emacs
Add new filetype pattern for muttrc
Diffstat (limited to 'mutt/muttrc.d/src')
-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 |