diff options
author | Alan Pearce | 2017-04-27 11:01:02 +0200 |
---|---|---|
committer | Alan Pearce | 2017-04-27 11:01:02 +0200 |
commit | bb46cf8f8ff70e89514f30a07b0619df23b6f09d (patch) | |
tree | 1ec908f648cdc2f1b69921a5d16d89afe24fa2a3 | |
parent | 6cf0843ec6ad3674d6d76b2709282bae0e69fd75 (diff) | |
download | nixfiles-bb46cf8f8ff70e89514f30a07b0619df23b6f09d.tar.lz nixfiles-bb46cf8f8ff70e89514f30a07b0619df23b6f09d.tar.zst nixfiles-bb46cf8f8ff70e89514f30a07b0619df23b6f09d.zip |
Emacs: Add macOS TLS CA cert to trustfiles
-rw-r--r-- | emacs/.emacs.d/init.org | 3 |
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) |