Emacs: Switch window when killing REST buffer
Alan Pearce alan.pearce@spotcap.com
Wed, 03 Jun 2015 14:44:56 +0200
1 files changed, 4 insertions(+), 1 deletions(-)
jump to
M tag-emacs/emacs.d/init.el → tag-emacs/emacs.d/init.el
@@ -422,7 +422,10 @@ (if (equal arg '(4)) (delete-current-buffer-file) (if server-buffer-clients (server-edit) - (kill-this-buffer)))) + (let ((buf (buffer-name))) + (when (equalp buf "*HTTP Response*") + (other-window 1)) + (kill-buffer buf))))) (req-package ws-butler :if window-system