0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-27 08:38:56 +00:00
termux-packages/x11-packages/emacs-x/lisp-term.el.patch.beforehostbuild
2022-04-18 14:50:31 +05:30

12 lines
493 B
Plaintext

--- ./lisp/term.el.orig 2022-04-06 12:29:31.256831618 +0200
+++ ./lisp/term.el 2022-04-06 12:29:59.820373057 +0200
@@ -1651,7 +1651,7 @@
(push (format "EMACS=%s (term:%s)" emacs-version term-protocol-version)
process-environment))
(apply #'start-process name buffer
- "/bin/sh" "-c"
+ "@TERMUX_PREFIX@/bin/sh" "-c"
(format "stty -nl echo rows %d columns %d sane 2>%s;\
if [ $1 = .. ]; then shift; fi; exec \"$@\""
term-height term-width null-device)