summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2015-12-01 21:01:27 -0800
committerFranck Cuny <franckcuny@gmail.com>2015-12-01 21:01:27 -0800
commit0136b15e01f0bbe033b95e6bf51d91bd7ca88868 (patch)
treede5cbdfd24c4a76c08a4e568163258aad7fee5fb
parentAdd a few aliases to bash. (diff)
downloademacs.d-0136b15e01f0bbe033b95e6bf51d91bd7ca88868.tar.gz
[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.
-rw-r--r--emacs.d/inits/00_emacs.el3
1 files changed, 2 insertions, 1 deletions
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