From 77e158040308bc9f0412b6aefe4335480b528e29 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sat, 29 May 2021 23:17:57 -0500 Subject: Fix setup to run after first focus-change-function /I don't know what I'm doing .../ --- early-init.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/early-init.el b/early-init.el index d45aad5..7744c00 100644 --- a/early-init.el +++ b/early-init.el @@ -98,7 +98,12 @@ (acdw/setup-fringes))) ;; I have this here because ... the first frame doesn't ? run ? the hook ??? -(add-hook 'after-init-hook #'acdw/frame-setup) +(add-function :after after-focus-change-function + (defun acdw/first-frame-setup (&rest args) + (ignore args) + (acdw/frame-setup) + (remove-function after-focus-change-function + #'acdw/first-frame-setup))) ;;; Bootstrap package manager (`straight.el') -- cgit 1.4.1-21-gabe81