termux-packages/packages/emacs/lisp-term.el.patch.beforeho...

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)