Function: hywconfig-yank-pop
hywconfig-yank-pop is an autoloaded, interactive and byte-compiled
function defined in hywconfig.el.
Signature
(hywconfig-yank-pop N)
Documentation
Replace selected frame's window config with prefix arg Nth prior one in ring.
Interactively, default value of N = 1, means the last saved window configuration is displayed.
The sequence of window configurations wraps around, so that after the oldest one comes the newest one.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hywconfig.el
;;;###autoload
(defun hywconfig-yank-pop (n)
"Replace selected frame's window config with prefix arg Nth prior one in ring.
Interactively, default value of N = 1, means the last saved window
configuration is displayed.
The sequence of window configurations wraps around, so that after the
oldest one comes the newest one."
(interactive "p")
(let ((ring (hywconfig-get-ring))
prev)
(if (ring-empty-p ring)
(error "(hywconfig-yank-pop): Window configuration save ring is empty")
(setq prev (ring-remove ring (- 1 n)))
(ring-insert-at-beginning ring prev)
(hywconfig-set-window-configuration (ring-ref ring 0)))))