diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2021-09-16 16:50:24 +0200 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2021-09-16 16:50:24 +0200 |
commit | 36474a1e490a5eae266805a0e04615741d56692c (patch) | |
tree | 8ad8f0d09436f5537d1e264935ab96669bc84c80 /lisp/net/tramp-cmds.el | |
parent | 85c7993631ce49d2082971df8743b2e1ba2fa81d (diff) | |
download | emacs-36474a1e490a5eae266805a0e04615741d56692c.tar.gz |
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.
Diffstat (limited to 'lisp/net/tramp-cmds.el')
-rw-r--r-- | lisp/net/tramp-cmds.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/net/tramp-cmds.el b/lisp/net/tramp-cmds.el index 6278fd302af..bfd928731a3 100644 --- a/lisp/net/tramp-cmds.el +++ b/lisp/net/tramp-cmds.el @@ -312,7 +312,7 @@ The remote connection identified by SOURCE is flushed by (if (null connections) (tramp-user-error nil "There are no remote connections.") (setq source - ;; Likely, the source remote connection is broken. So we + ;; Likely, the source remote connection is broken. So we ;; shall avoid any action on it. (let (non-essential) (completing-read-default @@ -717,7 +717,7 @@ the debug buffer(s).") (setq buffer-read-only t) (goto-char (point-min)) - (when (y-or-n-p "Do you want to append the buffer(s)? ") + (when (y-or-n-p "Do you want to append the buffer(s)?") ;; OK, let's send. First we delete the buffer list. (kill-buffer nil) (switch-to-buffer curbuf) |