1

Fix focus-out-hook warnings in Emacs versions >27

This commit is contained in:
Jessie Hildebrandt 2020-10-26 00:13:53 -04:00
parent 86bc2f092d
commit d24c214204

View File

@ -54,7 +54,7 @@
;; Collect all garbage whenever the focus changes to/from Emacs.
(if (>= emacs-major-version 27)
(add-function :after after-focus-change-function #'garbage-collect)
(add-hook 'focus-out-hook #'garbage-collect))
(with-no-warnings (add-hook 'focus-out-hook #'garbage-collect)))
;;====================
;; Variables/Basic Config.