diff options
| author | Michael Albinus | 2013-11-10 09:35:04 +0100 |
|---|---|---|
| committer | Michael Albinus | 2013-11-10 09:35:04 +0100 |
| commit | 7072a4e9cbf8c2a38092161a5c5f677348ead636 (patch) | |
| tree | 931d6c6f6fbb1abc0e9cd5da406cb23645db987c | |
| parent | 85f37d101104e812c545d6ae9275508bc20c8fe1 (diff) | |
| download | emacs-7072a4e9cbf8c2a38092161a5c5f677348ead636.tar.gz emacs-7072a4e9cbf8c2a38092161a5c5f677348ead636.zip | |
* net/tramp.el (tramp-methods):
* net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2013-10-29T02:50:24Z!dancol@dancol.org.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/net/tramp-sh.el | 4 | ||||
| -rw-r--r-- | lisp/net/tramp.el | 9 |
3 files changed, 6 insertions, 13 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 79bb26c7dfb..5d7c0956632 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2013-11-10 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | * net/tramp.el (tramp-methods): | ||
| 4 | * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of | ||
| 5 | 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org). | ||
| 6 | |||
| 1 | 2013-11-09 Andreas Schwab <schwab@linux-m68k.org> | 7 | 2013-11-09 Andreas Schwab <schwab@linux-m68k.org> |
| 2 | 8 | ||
| 3 | * progmodes/sh-script.el (sh-font-lock-keywords-var): Force | 9 | * progmodes/sh-script.el (sh-font-lock-keywords-var): Force |
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index f8b99dd918e..9b15c3655e0 100644 --- a/lisp/net/tramp-sh.el +++ b/lisp/net/tramp-sh.el | |||
| @@ -4285,10 +4285,6 @@ Gateway hops are already opened." | |||
| 4285 | (or | 4285 | (or |
| 4286 | ;; There are multi-hops. | 4286 | ;; There are multi-hops. |
| 4287 | (cdr target-alist) | 4287 | (cdr target-alist) |
| 4288 | ;; This method explicitly has an explicit allowability check. | ||
| 4289 | (let ((checker (tramp-get-method-parameter | ||
| 4290 | method 'tramp-hostname-checker))) | ||
| 4291 | (when checker (funcall checker v host method) t)) | ||
| 4292 | ;; The host name is used for the remote shell command. | 4288 | ;; The host name is used for the remote shell command. |
| 4293 | (member | 4289 | (member |
| 4294 | '("%h") (tramp-get-method-parameter method 'tramp-login-args)) | 4290 | '("%h") (tramp-get-method-parameter method 'tramp-login-args)) |
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 630208a8fbe..42988b0fd69 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -265,15 +265,6 @@ pair of the form (KEY VALUE). The following KEYs are defined: | |||
| 265 | In general, the global default value shall be used, but for | 265 | In general, the global default value shall be used, but for |
| 266 | some methods, like \"su\" or \"sudo\", a shorter timeout | 266 | some methods, like \"su\" or \"sudo\", a shorter timeout |
| 267 | might be desirable. | 267 | might be desirable. |
| 268 | * `tramp-hostname-checker' | ||
| 269 | This is a function that tramp calls while setting | ||
| 270 | up a connection. It is called with three arguments: | ||
| 271 | the target, the host, and the method description. If | ||
| 272 | the hostname is unacceptable, this function should signal | ||
| 273 | using `tramp-error'. If a method does not provide | ||
| 274 | a value here, then Tramp looks at whether the method's | ||
| 275 | login program uses a \"%h\" parameter. If not, then Tramp | ||
| 276 | requires that the given hostname match `tramp-local-host-regexp'. | ||
| 277 | 268 | ||
| 278 | What does all this mean? Well, you should specify `tramp-login-program' | 269 | What does all this mean? Well, you should specify `tramp-login-program' |
| 279 | for all methods; this program is used to log in to the remote site. Then, | 270 | for all methods; this program is used to log in to the remote site. Then, |