diff options
author | Franck Cuny <franckcuny@gmail.com> | 2015-12-01 21:01:27 -0800 |
---|---|---|
committer | Franck Cuny <franckcuny@gmail.com> | 2015-12-01 21:01:27 -0800 |
commit | 0136b15e01f0bbe033b95e6bf51d91bd7ca88868 (patch) | |
tree | de5cbdfd24c4a76c08a4e568163258aad7fee5fb | |
parent | Add a few aliases to bash. (diff) | |
download | emacs.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.el | 3 |
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 |