Fix setup to run after first focus-change-function
/I don't know what I'm doing .../
This commit is contained in:
parent
488d0310e5
commit
77e1580403
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue