From 5bad5320032a8fc477e9f2527d23036c41ac023e Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Mon, 9 Jun 2025 18:31:55 -0400 Subject: Update --- src/gizmo/wasp-cyclone.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gizmo/wasp-cyclone.el') diff --git a/src/gizmo/wasp-cyclone.el b/src/gizmo/wasp-cyclone.el index 183175c9..6ad7a4f8 100644 --- a/src/gizmo/wasp-cyclone.el +++ b/src/gizmo/wasp-cyclone.el @@ -48,7 +48,8 @@ (defun w/gizmo-ensure-shown (buf) "Ensure that BUF is shown in one of the windows." (unless (--any (s-equals? (buffer-name (window-buffer it)) (buffer-name (get-buffer buf))) w/gizmo-windows) - (set-window-buffer (car w/gizmo-windows) buf))) + (when (window-live-p (car w/gizmo-windows)) + (set-window-buffer (car w/gizmo-windows) buf)))) (defvar w/gizmo-cycle-timer nil) (defun w/run-gizmo-cycle-timer () -- cgit v1.2.3