Last active
December 10, 2015 15:28
-
-
Save v2e4lisp/4454312 to your computer and use it in GitHub Desktop.
delete all other buffer except the current one.
This file contains hidden or 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 only-current-buffer () | |
(interactive) | |
(mapc 'kill-buffer (cdr (buffer-list (current-buffer))))) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment