A buffer is closed by jEdit._closeBuffer and jEdit.closeAllBuffers.
The latter method doesn't emit BUFFER_CLOSING events before closing buffers.
This patch fixes this, if jEdit is not exiting.
I need this for Reopen plugin, to be able to restore each buffer to the proper EditPane.
committed in [r23896]
Related
Commit: [r23896]