vim: fix off-by-one error when removing header from message to send out
authorBart Trojanowski <bart@jukie.net>
Fri, 27 Nov 2009 19:02:25 +0000 (14:02 -0500)
committerBart Trojanowski <bart@jukie.net>
Fri, 27 Nov 2009 19:02:25 +0000 (14:02 -0500)
vim/plugin/notmuch.vim

index ef3260ed085473a0943f9820f86f0994d993a45c..a4d04e26104ee4da4358cc06bea8e35689c52752 100644 (file)
@@ -938,7 +938,7 @@ function! s:NM_compose_send()
                 let lnum = lnum + 1
                 let line = getline(lnum)
         endwhile
-        let body_starts = lnum + 1
+        let body_starts = lnum
         exec printf('0,%dd', body_starts)
         write