aboutsummaryrefslogtreecommitdiff
path: root/modules/system-defaults.el
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system-defaults.el')
-rw-r--r--modules/system-defaults.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/modules/system-defaults.el b/modules/system-defaults.el
index 6fbec003..d0b9f835 100644
--- a/modules/system-defaults.el
+++ b/modules/system-defaults.el
@@ -16,13 +16,14 @@
(require 'server)
(require 'bookmark)
-;; Loaded earlier in init.el
+;; `host-environment' and `user-constants' are loaded earlier in init.el,
+;; so they are available at runtime when this module loads. The
+;; `eval-when-compile' forms here are byte-compile hints to silence
+;; free-variable / free-function warnings when this module is compiled
+;; in isolation; no runtime requires are needed.
(eval-when-compile (require 'host-environment))
(eval-when-compile (require 'user-constants))
-;; Function in system-utils.el; autoload to avoid requiring it here.
-(autoload 'env-bsd-p "host-environment" nil t)
-
;; -------------------------- Native Comp Preferences --------------------------
(with-eval-after-load 'comp-run