From: Felipe Contreras Date: Mon, 14 Oct 2013 05:54:13 +0000 (-0500) Subject: vim: trivial cleanup X-Git-Tag: 0.17_rc1~15 X-Git-Url: https://git.cworth.org/git?p=notmuch;a=commitdiff_plain;h=2ec69fd39e4b1132032b700ec678d3dfa082c74a vim: trivial cleanup Using $email_address is more straight forward. Signed-off-by: Felipe Contreras --- diff --git a/vim/notmuch.vim b/vim/notmuch.vim index cf829a67..9a45300f 100644 --- a/vim/notmuch.vim +++ b/vim/notmuch.vim @@ -566,7 +566,7 @@ ruby << EOF f.flush - VIM::command("let s:reply_from='%s'" % reply.from.first.to_s) + VIM::command("let s:reply_from='%s'" % $email_address) VIM::command("call s:new_file_buffer('compose', '#{f.path}')") VIM::command("call cursor(#{old_count}, 0)") end