Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@quanticle
Created June 24, 2019 15:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save quanticle/b8dfeceeb5974e35e3637e9189ca42fc to your computer and use it in GitHub Desktop.
Save quanticle/b8dfeceeb5974e35e3637e9189ca42fc to your computer and use it in GitHub Desktop.
Kill buffer and frame
(defun kill-buffer-and-frame ()
(interactive)
(progn
(kill-buffer)
(delete-frame)))
(global-set-key (kbd "C-x 5 k") 'kill-buffer-and-frame)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment