diff options
Diffstat (limited to 'vim/plugin/mail_mutt.vim')
-rw-r--r-- | vim/plugin/mail_mutt.vim | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vim/plugin/mail_mutt.vim b/vim/plugin/mail_mutt.vim index 24ce01dd..5170fb52 100644 --- a/vim/plugin/mail_mutt.vim +++ b/vim/plugin/mail_mutt.vim @@ -5,7 +5,10 @@ " Author: Tom Ryder <tom@sanctum.geek.nz> " License: Same as Vim itself " -if exists('g:loaded_mail_mutt') || &compatible || !has('user_commands') +if exists('g:loaded_mail_mutt') || &compatible + finish +endif +if !has('user_commands') finish endif let g:loaded_mail_mutt = 1 @@ -27,7 +30,6 @@ function! s:MailMutt(start, end) let l:command = 'write ' . fnameescape(l:tf) execute l:range . l:command - " Run mutt(1) with that file as its input execute '!mutt -i ' . shellescape(l:tf) |