Created
June 24, 2019 15:56
-
-
Save quanticle/b8dfeceeb5974e35e3637e9189ca42fc to your computer and use it in GitHub Desktop.
Kill buffer and frame
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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