[emacs] Load mail config conditionally

This commit is contained in:
Sebastian Schulze 2018-05-16 23:47:21 +02:00
parent 97afadf074
commit 8dc19f867f
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
1 changed files with 4 additions and 1 deletions

View File

@ -373,7 +373,10 @@ you should place your code here."
(spacemacs/set-leader-keys "om" 'mu4e)
(spacemacs/set-leader-keys "oO" 'helm-org-agenda-files-headings)
(load-file "~/.spacemacs.d/public/mail-config.el")
(if
(or (s-starts-with? "zog" system-name) (s-starts-with? "kandalingo" system-name))
(load-file "~/.spacemacs.d/public/mail-config.el"))
(load-file "~/.spacemacs.d/public/org-config.el")
)