Instead of assuming a single line is output, which may be wrong in error
conditions, use the '[/'] marks to delete everything that was read.
Closesjamessan/vim-gnupg#106
Signed-off-by: James McCoy <jamessan@jamessan.com>
This allows them to be properly cleared only when the buffer is
re-created/loaded. This fixes the handling of the autocmds when the
Edit buffer is saved, but not hidden or deleted.
The autocmd remains in place, rather than having an acwrite buffer with
no autocmd set.
Signed-off-by: James McCoy <jamessan@jamessan.com>