]> git.eshelyaron.com Git - emacs.git/commit
Tramp code cleanup
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 16 Sep 2021 14:50:24 +0000 (16:50 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 16 Sep 2021 14:50:24 +0000 (16:50 +0200)
commit36474a1e490a5eae266805a0e04615741d56692c
tree8ad8f0d09436f5537d1e264935ab96669bc84c80
parent85c7993631ce49d2082971df8743b2e1ba2fa81d
Tramp code cleanup

* lisp/net/tramp-sh.el (tramp-methods) <telnet, nc>:
Reintroduce "%n" marker.
(tramp-maybe-open-connection): Handle it.

* lisp/net/tramp.el (tramp-prefix-regexp):
* lisp/net/tramp-smb.el (tramp-smb-options): Fix docstring.

* lisp/net/tramp*.el: Fix typos.  Remove trailing space from
`yes-or-no-p' and `y-or-n-p' prompts.

* test/lisp/net/tramp-tests.el (tramp--test-telnet-p): New defun.
(tramp-test29-start-file-process, tramp-test30-make-process)
(tramp-test35-remote-path, tramp-test44-asynchronous-requests):
Adapt tests.
13 files changed:
lisp/net/tramp-adb.el
lisp/net/tramp-archive.el
lisp/net/tramp-cmds.el
lisp/net/tramp-crypt.el
lisp/net/tramp-ftp.el
lisp/net/tramp-gvfs.el
lisp/net/tramp-sh.el
lisp/net/tramp-smb.el
lisp/net/tramp-sshfs.el
lisp/net/tramp-sudoedit.el
lisp/net/tramp.el
lisp/net/trampver.el
test/lisp/net/tramp-tests.el