Add writeroom-kill-buffer-function