Created
June 25, 2010 14:23
-
-
Save schani/452910 to your computer and use it in GitHub Desktop.
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 make-bertl-untitled-name (i) | |
(concat "untitled-" (number-to-string i))) | |
(defun bertl-switch-to-untitled-buffer () | |
(interactive) | |
(let ((index 0)) | |
(while (get-buffer (make-bertl-untitled-name index)) | |
(setq index (1+ index))) | |
(bertl-switch-to-buffer (make-bertl-untitled-name index)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment