From 0136b15e01f0bbe033b95e6bf51d91bd7ca88868 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 1 Dec 2015 21:01:27 -0800 Subject: [emacs] Import TMPDIR from the environment This is needed so that the daemon create the socket in the correct location, and spawning a client from the shell does not start a new emacs daemon. --- emacs.d/inits/00_emacs.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'emacs.d/inits') diff --git a/emacs.d/inits/00_emacs.el b/emacs.d/inits/00_emacs.el index 3ab8798..7284e8a 100644 --- a/emacs.d/inits/00_emacs.el +++ b/emacs.d/inits/00_emacs.el @@ -22,7 +22,8 @@ (use-package exec-path-from-shell :ensure t :config - (exec-path-from-shell-initialize)) + (exec-path-from-shell-initialize) + (exec-path-from-shell-copy-envs '("TMPDIR"))) (use-package server :config -- cgit 1.4.1