]> jturnerusa.dev Git - emacs.d/commitdiff
added an explicit require for site-gentoo when it's available
authorJohn Turner <jturner.usa@gmail.com>
Sat, 9 Jul 2022 01:49:17 +0000 (21:49 -0400)
committerJohn Turner <jturner.usa@gmail.com>
Sat, 23 Jul 2022 02:48:03 +0000 (22:48 -0400)
I have disabled site-gentoo being loaded automatically on start by
editing site-start. Now I explicitly require it when it's available in
this config, but it can be omitted or toggled in other configs (a
minimal config for example).

init.el

diff --git a/init.el b/init.el
index bca67cf4f3a8612f28a7c406687e5630501a103c..83f5793ad43a2f360633566c6aed9b0020203a5d 100644 (file)
--- a/init.el
+++ b/init.el
@@ -1,3 +1,6 @@
+(when (locate-library "site-gentoo")
+  (require 'site-gentoo))
+
 (setq auth-source-save-behavior nil
       auto-save-default nil
       change-major-mode-with-file-name nil