Created
April 25, 2025 08:23
-
-
Save andiogenes/18efdabad0bce3daa3a8f48c6e2b2056 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
(defvar window-stack '()) | |
(defun push-window-configuration () | |
(interactive) | |
(push (current-window-configuration) window-stack)) | |
(defun pop-window-configuration () | |
(interactive) | |
(let ((val (pop window-stack))) | |
(and val (set-window-configuration val)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment