From bb46cf8f8ff70e89514f30a07b0619df23b6f09d Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 27 Apr 2017 11:01:02 +0200 Subject: Emacs: Add macOS TLS CA cert to trustfiles --- emacs/.emacs.d/init.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'emacs') diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 5bb1c2a..c99e957 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) -- cgit 1.4.1