termux-packages/x11-packages/emacs-x/lisp-term.el.patch.beforehostbuild

12 lines
493 B
Plaintext
Raw Normal View History

2022-04-07 13:01:21 +02:00
--- ./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"
2022-04-07 13:01:21 +02:00
(format "stty -nl echo rows %d columns %d sane 2>%s;\
if [ $1 = .. ]; then shift; fi; exec \"$@\""
2022-04-07 13:01:21 +02:00
term-height term-width null-device)