Created
November 3, 2016 01:54
-
-
Save autosquid/19656d7de8b8604e6b53495d91508126 to your computer and use it in GitHub Desktop.
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 kill-buffers-after (idx limit list) | |
| (when list | |
| (when (> idx limit) (kill-buffer (car list))) | |
| (kill-buffers-after (+ idx 1) limit (cdr list)))) | |
| (kill-buffers-after 0 20 (buffer-list)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment