improve jsynacek-kill-current-buffer