From 23cc4ab7b5695f77ffd15f5ee5e7cc414237642f Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Tue, 18 Aug 2026 03:04:31 -0400 Subject: Update --- src/wasp-gizmo.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/wasp-gizmo.el') diff --git a/src/wasp-gizmo.el b/src/wasp-gizmo.el index 677b2fb7..e0359c08 100644 --- a/src/wasp-gizmo.el +++ b/src/wasp-gizmo.el @@ -33,9 +33,9 @@ (defun w/gizmo-cycle-window (w) "Cycle the gizmo in W." (when-let* - ((cur (buffer-name (window-buffer w))) - (idx (--find-index (equal it cur) w/gizmo-buffer-names)) + ((cur (window-buffer w)) (bufs (-non-nil (-map #'get-buffer w/gizmo-buffer-names))) + (idx (--find-index (equal it cur) bufs)) (nidx (mod (+ idx 1) (length bufs))) (buf (nth nidx bufs))) (set-window-buffer w buf))) -- cgit v1.3.1