From bb3be288b98c9b5f256afbeb550f92af7de0f3e4 Mon Sep 17 00:00:00 2001 From: jao Date: Wed, 5 Nov 2025 00:00:55 +0000 Subject: afio: run hooks when switiching to oneself --- lib/eos/jao-afio.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/eos') diff --git a/lib/eos/jao-afio.el b/lib/eos/jao-afio.el index 162a1b7..235aa54 100644 --- a/lib/eos/jao-afio.el +++ b/lib/eos/jao-afio.el @@ -202,8 +202,8 @@ (setq reset (or reset (not (get-register next))))) (jao-afio--current-config next) (unless (eq current next) (setq jao-afio--previous-config current)) - (when reset (jao-afio-reset)) - (run-hooks 'jao-afio-switch-hook))))) + (when reset (jao-afio-reset))) + (run-hooks 'jao-afio-switch-hook)))) (defun jao-afio-goto-main (&optional reset) (interactive "P") -- cgit v1.2.3