Go to file
James McCoy 45fdaf52ed
GPGCleanup: Use "only!" to force hiding modified buffers
In dda14abb3c, GPGCleanup added 'set
buffhidden=hide' to try avoiding error messages when modified buffers
are being abandoned.  However, that only works if the buffer is the last
visible buffer.

If there are windows displaying multiple buffers, then errors can still
be emitted.  Using "only!" ensures all the other windows can be closed.

Signed-off-by: James McCoy <jamessan@jamessan.com>
2016-12-17 20:51:26 -05:00
plugin GPGCleanup: Use "only!" to force hiding modified buffers 2016-12-17 20:51:26 -05:00