summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.org3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 5bb1c2ac..c99e9578 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -63,7 +63,8 @@ the buffer to be empty.
         package-menu-async t
         package-menu-hide-low-priority t)
   (when (eq system-type 'darwin)
-    (add-to-list 'gnutls-trustfiles "/etc/ssl/cert.pem"))
+    (with-eval-after-load "gnutls"
+      (add-to-list 'gnutls-trustfiles "/etc/ssl/cert.pem")))
   (package-initialize)
   (unless (package-installed-p 'use-package)
     (package-refresh-contents)