summaryrefslogtreecommitdiffhomepage
path: root/lib/eos
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2025-11-05 00:00:55 +0000
committerjao <jao@gnu.org>2025-11-05 00:00:55 +0000
commitbb3be288b98c9b5f256afbeb550f92af7de0f3e4 (patch)
tree51e3f6645b9cdb1f60f3065fdaddff6227488490 /lib/eos
parent5f0c3dd71896a8d1be46b29b5bc2e60d3e86fb4b (diff)
downloadelibs-bb3be288b98c9b5f256afbeb550f92af7de0f3e4.tar.gz
elibs-bb3be288b98c9b5f256afbeb550f92af7de0f3e4.tar.bz2
afio: run hooks when switiching to oneself
Diffstat (limited to 'lib/eos')
-rw-r--r--lib/eos/jao-afio.el4
1 files changed, 2 insertions, 2 deletions
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")