Skip to content

Commit

Permalink
emacs: nsm
Browse files Browse the repository at this point in the history
  • Loading branch information
holomorph committed Nov 23, 2014
1 parent d819ec3 commit 91ea0ee
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .emacs.d/init.el
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
ido-save-directory-list-file "~/.cache/emacs/ido"
indent-tabs-mode nil
mouse-sel-retain-highlight t
nsm-settings-file "~/.local/share/emacs/nsm-data.el"
network-security-level 'paranoid
recentf-save-file "~/.local/share/emacs/recentf"
save-place t
save-place-file "~/.cache/emacs/places"
Expand Down Expand Up @@ -90,22 +92,14 @@

(windmove-default-keybindings)

;; tls
(when (fboundp 'gnutls-available-p)
(fmakunbound 'gnutls-available-p))

(setq-default
smtpmail-stream-type 'starttls
starttls-extra-arguments '("--strict-tofu" "--x509cafile" "/etc/ssl/certs/ca-certificates.crt")
tls-program '("gnutls-cli --strict-tofu --x509cafile /etc/ssl/certs/ca-certificates.crt -p %p %h"))

;; mail
(setq-default
message-send-mail-function 'smtpmail-send-it
smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil))
smtpmail-default-smtp-server "smtp.gmail.com"
smtpmail-smtp-server "smtp.gmail.com"
smtpmail-smtp-service 587)
smtpmail-smtp-service 587
smtpmail-stream-type 'starttls)

;; irc
(setq-default
Expand Down

0 comments on commit 91ea0ee

Please sign in to comment.