summary refs log tree commit diff stats
path: root/early-init.el
diff options
context:
space:
mode:
authorCase Duckworth2021-05-29 23:17:57 -0500
committerCase Duckworth2021-05-29 23:17:57 -0500
commit77e158040308bc9f0412b6aefe4335480b528e29 (patch)
tree02d17ea2b0be9f8526e308be5519daa8e3dc6842 /early-init.el
parentAdd mastodon.el (diff)
downloademacs-77e158040308bc9f0412b6aefe4335480b528e29.tar.gz
emacs-77e158040308bc9f0412b6aefe4335480b528e29.zip
Fix setup to run after first focus-change-function
/I don't know what I'm doing .../
Diffstat (limited to 'early-init.el')
-rw-r--r--early-init.el7
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')