lib/vmail.vim in vmail-1.5.5 vs lib/vmail.vim in vmail-1.5.6
- old
+ new
@@ -59,13 +59,13 @@
" the message display buffer window
function! s:create_message_window()
exec "split " . s:message_bufname
setlocal modifiable
+ setlocal buftype=nofile
let s:message_window_bufnr = bufnr('%')
call s:message_window_mappings()
- write
close
endfunction
function! s:show_message(stay_in_message_list)
let line = getline(line("."))
@@ -99,11 +99,11 @@
1,$delete
put =res
" critical: don't call execute 'normal \<cr>'
" call feedkeys("<cr>")
1delete
- write
normal 1Gjk
+ set nomodifiable
if a:stay_in_message_list
call s:focus_list_window()
end
redraw
endfunction