summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2016-02-12 15:39:00 -0800
committerFranck Cuny <franckcuny@gmail.com>2016-02-12 15:39:00 -0800
commit1fae682817a3403bac2d7bd19ec2346572b8f6bc (patch)
tree5ad91b57097c57dfba7847c4a4b162d1fce921d2
parent[emacs] Add custom functions. (diff)
downloademacs.d-1fae682817a3403bac2d7bd19ec2346572b8f6bc.tar.gz
[emacs] Move some packages to a new config file.
Create the new "editor" package that will contains configure some
external packages related to the editor itself.
-rw-r--r--emacs.d/inits/10_editor.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/emacs.d/inits/10_editor.el b/emacs.d/inits/10_editor.el
new file mode 100644
index 0000000..af0ee01
--- /dev/null
+++ b/emacs.d/inits/10_editor.el
@@ -0,0 +1,10 @@
+(use-package exec-path-from-shell
+  :ensure t
+  :config
+  (exec-path-from-shell-initialize)
+  (exec-path-from-shell-copy-envs '("TMPDIR" "GOPATH")))
+
+(use-package server
+  :config
+  (unless (server-running-p)
+    (server-start)))