emacs: Patch server-socket-dir to avoid /tmp
This commit is contained in:
parent
5b554458c2
commit
5971ddb8b0
12
packages/emacs/lisp-server.el.patch.beforehostbuild
Normal file
12
packages/emacs/lisp-server.el.patch.beforehostbuild
Normal file
@ -0,0 +1,12 @@
|
||||
diff -u -r ../emacs-25.0.92/lisp/server.el ./lisp/server.el
|
||||
--- ../emacs-25.0.92/lisp/server.el 2016-03-02 05:21:42.000000000 -0500
|
||||
+++ ./lisp/server.el 2016-04-06 17:34:48.134354070 -0400
|
||||
@@ -267,7 +267,7 @@
|
||||
;; does not read the init file.
|
||||
(defvar server-socket-dir
|
||||
(and (featurep 'make-network-process '(:family local))
|
||||
- (format "%s/emacs%d" (or (getenv "TMPDIR") "/tmp") (user-uid)))
|
||||
+ (format "%s/emacs%d" (or (getenv "TMPDIR") "@TERMUX_PREFIX@/tmp") (user-uid)))
|
||||
"The directory in which to place the server socket.
|
||||
If local sockets are not supported, this is nil.")
|
||||
|
Loading…
Reference in New Issue
Block a user