diff options
-rw-r--r-- | early-init.el | 7 |
1 files changed, 6 insertions, 1 deletions
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 @@ | |||
98 | (acdw/setup-fringes))) | 98 | (acdw/setup-fringes))) |
99 | 99 | ||
100 | ;; I have this here because ... the first frame doesn't ? run ? the hook ??? | 100 | ;; I have this here because ... the first frame doesn't ? run ? the hook ??? |
101 | (add-hook 'after-init-hook #'acdw/frame-setup) | 101 | (add-function :after after-focus-change-function |
102 | (defun acdw/first-frame-setup (&rest args) | ||
103 | (ignore args) | ||
104 | (acdw/frame-setup) | ||
105 | (remove-function after-focus-change-function | ||
106 | #'acdw/first-frame-setup))) | ||
102 | 107 | ||
103 | 108 | ||
104 | ;;; Bootstrap package manager (`straight.el') | 109 | ;;; Bootstrap package manager (`straight.el') |