aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r--.emacs.d/init.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index eee3a56..ff2d3fa 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -61,8 +61,10 @@
;; Initialize environment
;; ------
-(setenv "TMPDIR" (concat (getenv "HOME") "/tmp"))
-(add-hook 'after-init-hook #'server-start)
+(require 'server)
+(setq server-client-instructions nil)
+(unless (server-running-p)
+ (server-start))
;; ------
;; Helper for compilation.
nihil fit ex nihilo