]> git.eshelyaron.com Git - emacs.git/commit
Tramp fixes after running regression tests on Android
authorMichael Albinus <michael.albinus@gmx.de>
Wed, 6 Mar 2024 16:51:42 +0000 (17:51 +0100)
committerEshel Yaron <me@eshelyaron.com>
Thu, 7 Mar 2024 08:21:18 +0000 (09:21 +0100)
commit3281252c27ea415c65b0b6cf21cb2d9372c0fb62
tree9fa27eb41e0f747ea64250b4c8bb2b681b404da0
parentdf0bfbe92df31137e3bafc67aaa9b76fbb188dc0
Tramp fixes after running regression tests on Android

* lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection):
Unset environment variable PS2.

* lisp/net/tramp-androidsu.el (tramp-default-host-alist):
Don't add an entry; `tramp-default-host' is set properly.
(tramp-androidsu-maybe-open-connection): Don't set connection
property "remote-namespace" to nil, this is the default anyway.
Don't set connection property "remote-path", we use
connection-local values instead.  Unset environment variable PS2.
Dump shell options after setting all of them.
(tramp-androidsu-handle-make-process): Don't use hard-coded user "root".
(tramp-androidsu-connection-local-default-variables): New defvar.
Add it to connection-local profiles.

(cherry picked from commit b12059e4c320f374735a9c00975ef12cb964043f)
lisp/net/tramp-adb.el
lisp/net/tramp-androidsu.el