chiark / gitweb /
preload-hacks: Some patches to make it work.
[termux-packages] / packages / emacs / lisp-server.el.patch.beforehostbuild
1 diff -u -r ../emacs-25.0.92/lisp/server.el ./lisp/server.el
2 --- ../emacs-25.0.92/lisp/server.el     2016-03-02 05:21:42.000000000 -0500
3 +++ ./lisp/server.el    2016-04-06 17:34:48.134354070 -0400
4 @@ -267,7 +267,7 @@
5  ;; does not read the init file.
6  (defvar server-socket-dir
7    (and (featurep 'make-network-process '(:family local))
8 -       (format "%s/emacs%d" (or (getenv "TMPDIR") "/tmp") (user-uid)))
9 +       (format "%s/emacs%d" (or (getenv "TMPDIR") "@TERMUX_PREFIX@/tmp") (user-uid)))
10    "The directory in which to place the server socket.
11  If local sockets are not supported, this is nil.")
12