Using $email_address is more straight forward.

Signed-off-by: Felipe Contreras <felipe.contreras at gmail.com>
---
 vim/notmuch.vim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vim/notmuch.vim b/vim/notmuch.vim
index cf829a6..9a45300 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
-- 
1.8.4.2+fc1

Reply via email to