aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2018-09-07 10:19:48 -0300
committerEuAndreh <eu@euandre.org>2018-09-07 10:19:48 -0300
commitab0bd3b38f2eb4f813c0b55d61bd12da302eaee4 (patch)
tree1f442ba605a9cd4bf20c0f964b03d631f2d6ac8a
parentRemove nu-clojure layer. (diff)
downloaddotfiles-ab0bd3b38f2eb4f813c0b55d61bd12da302eaee4.tar.gz
dotfiles-ab0bd3b38f2eb4f813c0b55d61bd12da302eaee4.tar.xz
Add macOS specific TLS config for Emacs.
-rw-r--r--spacemacs.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/spacemacs.el b/spacemacs.el
index 8317b0a..0cd545c 100644
--- a/spacemacs.el
+++ b/spacemacs.el
@@ -2,6 +2,12 @@
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
+
+;; macOS TLS error, fix from:
+;; https://blog.vifortech.com/posts/emacs-tls-fix/
+(require 'gnutls)
+(add-to-list 'gnutls-trustfiles "/usr/local/etc/openssl/cert.pem")
+
(defun dotspacemacs/layers ()
"Layer configuration:
This function should only modify configuration layer settings."