summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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