Created
December 12, 2008 18:47
-
-
Save banister/35223 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 rotate-windows-helper(x d) | |
(if (equal (cdr x) nil) (set-window-buffer (car x) d) | |
(set-window-buffer (car x) (window-buffer (cadr x))) (rotate-windows-helper (cdr x) d))) | |
(defun rotate-windows | |
(rotate-windows-helper (window-list) (window-buffer (car (window-list))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment