summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2020-10-10 11:28:54 +0100
committerdakkar <dakkar@thenautilus.net>2020-10-10 11:31:08 +0100
commit522300c767493bd5217d593ea2800e64e8617cbe (patch)
tree294e10201dc78cf2bdfee37ab07f884a86241d76
parentmore auto-mode for raku (diff)
downloademacs-522300c767493bd5217d593ea2800e64e8617cbe.tar.gz
emacs-522300c767493bd5217d593ea2800e64e8617cbe.tar.bz2
emacs-522300c767493bd5217d593ea2800e64e8617cbe.zip
put server socket where emacsclient expects it
I'm not sure why server and client look in different places, though
-rwxr-xr-xinit.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/init.el b/init.el
index ee14835..57d65c4 100755
--- a/init.el
+++ b/init.el
@@ -6,6 +6,9 @@
;; You may delete these explanatory comments.
(package-initialize)
+; put socket in home dir; emacs 27 daemon seems to put it in
+; /tmp/emacs$id but emacsclient doesn't look there :/
+(setq server-socket-dir (format "/home/%s/.emacs.d" (user-login-name)))
(defalias 'make-local-hook 'ignore)
(add-to-list 'load-path (expand-file-name "~/.emacs-lisp") t) ; my path at the end