summary refs log tree commit diff
path: root/emacs.d/custom/fcuny-settings.el
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2020-03-15 19:14:06 -0700
committerFranck Cuny <franck.cuny@gmail.com>2020-03-15 19:14:06 -0700
commit896243c262208312a766953a6c02e69932bf71ed (patch)
treebc62d883c254c9219a46cbdf6825ea813fd8946f /emacs.d/custom/fcuny-settings.el
parentemacs: ensure a few more things are utf8 (diff)
downloademacs.d-896243c262208312a766953a6c02e69932bf71ed.tar.gz
emacs: consolidate basic configuration
The configuration for the module `midnight`, `emacs-server` and
`exec-path-from-shall` is moved to the package containing a bunch of
misc. settings.
Diffstat (limited to '')
-rw-r--r--emacs.d/custom/fcuny-settings.el17
1 files changed, 16 insertions, 1 deletions
diff --git a/emacs.d/custom/fcuny-settings.el b/emacs.d/custom/fcuny-settings.el
index f232d52..a5ecc87 100644
--- a/emacs.d/custom/fcuny-settings.el
+++ b/emacs.d/custom/fcuny-settings.el
@@ -36,6 +36,21 @@
  '(inhibit-startup-echo-area-message t))
 
 (setq user-full-name "franck cuny"
-      user-mail-address "franck.cuny@gmail.com")
+      user-mail-address "franck@fcuny.net"
+      add-log-mailing-address "franck@fcuny.net")
+
+(use-package midnight
+  :config
+  (midnight-mode t))
+
+(use-package server
+  :hook (after-init . server-start))
+
+(use-package exec-path-from-shell
+  :ensure t
+  :init   (exec-path-from-shell-initialize)
+  (when (memq window-system '(mac ns))
+    (exec-path-from-shell-initialize))
+  (exec-path-from-shell-copy-env "GOPATH"))
 
 (provide 'fcuny-settings)