]> git.eshelyaron.com Git - emacs.git/commit
Refactor tramp-*-make-process functions
authorMichael Albinus <michael.albinus@gmx.de>
Mon, 10 Jun 2024 12:37:48 +0000 (14:37 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 12 Jun 2024 09:24:15 +0000 (11:24 +0200)
commita9b4190b27fd1f1fcd9abeb5bcce5482ce80a97f
tree355369999714f7c51c4103230cc20da104cd880c
parent50080cc5835caf7d41487558fce7bad970723807
Refactor tramp-*-make-process functions

* lisp/net/tramp.el (tramp-handle-make-process):
* lisp/net/tramp-adb.el (tramp-adb-handle-make-process):
* lisp/net/tramp-androidsu.el (tramp-androidsu-handle-make-process):
* lisp/net/tramp-sh.el (tramp-sh-handle-make-process):
Use `tramp-skeleton-make-process'.

* lisp/net/tramp-container.el (tramp-actions-before-shell):
Don't declare.

* lisp/net/tramp-sh.el (tramp-actions-before-shell):
Add ;;;###tramp-autoload cookie.

* lisp/net/tramp.el (tramp-file-local-name): Adapt docstring.
(tramp-skeleton-make-process): New defmacro.

(cherry picked from commit 9b12854743ad4c9fdd44bd9ce2f9b309e0c674cf)
lisp/net/tramp-adb.el
lisp/net/tramp-androidsu.el
lisp/net/tramp-container.el
lisp/net/tramp-sh.el
lisp/net/tramp.el