Fix setup to run after first focus-change-function

/I don't know what I'm doing .../
This commit is contained in:
Case Duckworth 2021-05-29 23:17:57 -05:00
parent 488d0310e5
commit 77e1580403
1 changed files with 6 additions and 1 deletions

View File

@ -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')