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 /emacs | |
parent | 6cf0843ec6ad3674d6d76b2709282bae0e69fd75 (diff) | |
download | dotfiles-bb46cf8f8ff70e89514f30a07b0619df23b6f09d.tar.lz dotfiles-bb46cf8f8ff70e89514f30a07b0619df23b6f09d.tar.zst dotfiles-bb46cf8f8ff70e89514f30a07b0619df23b6f09d.zip |
Emacs: Add macOS TLS CA cert to trustfiles
Diffstat (limited to 'emacs')
-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 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) |