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

12 lines
493 B
Plaintext
Raw Normal View History

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