Emacs: Add macOS TLS CA cert to trustfiles
Alan Pearce alan@alanpearce.uk
Thu, 27 Apr 2017 11:01:02 +0200
1 files changed, 2 insertions(+), 1 deletions(-)
jump to
M emacs/.emacs.d/init.org → emacs/.emacs.d/init.org
@@ -63,7 +63,8 @@ ("melpa" . 0)) 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)