diff options
| author | Michael Albinus | 2013-01-31 09:33:03 +0100 |
|---|---|---|
| committer | Michael Albinus | 2013-01-31 09:33:03 +0100 |
| commit | 61642d9a2705c8d740250a6069a7fc2cd2f96cda (patch) | |
| tree | 678a2594e5f376cb5efa5ea2d7151c180191e7ac | |
| parent | 9dbda100755158fd070931748f2b80ad09bc6815 (diff) | |
| download | emacs-61642d9a2705c8d740250a6069a7fc2cd2f96cda.tar.gz emacs-61642d9a2705c8d740250a6069a7fc2cd2f96cda.zip | |
* net/tramp.el (tramp-tramp-file-p): Comment check for
`string-as-unibyte'. The function does not exist on XEmacs, and
likely we need another approach.
* net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
`tramp-gw-*' variables are bound.
| -rw-r--r-- | lisp/ChangeLog | 9 | ||||
| -rw-r--r-- | lisp/net/tramp-sh.el | 2 | ||||
| -rw-r--r-- | lisp/net/tramp.el | 2 |
3 files changed, 11 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c1142a45e8d..c2be5f5fae4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2013-01-31 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | * net/tramp.el (tramp-tramp-file-p): Comment check for | ||
| 4 | `string-as-unibyte'. The function does not exist on XEmacs, and | ||
| 5 | likely we need another approach. | ||
| 6 | |||
| 7 | * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether | ||
| 8 | `tramp-gw-*' variables are bound. | ||
| 9 | |||
| 1 | 2013-01-31 Glenn Morris <rgm@gnu.org> | 10 | 2013-01-31 Glenn Morris <rgm@gnu.org> |
| 2 | 11 | ||
| 3 | * files.el (basic-save-buffer-2): Choose coding system for | 12 | * files.el (basic-save-buffer-2): Choose coding system for |
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index a06d64d400a..345da7b958f 100644 --- a/lisp/net/tramp-sh.el +++ b/lisp/net/tramp-sh.el | |||
| @@ -4272,7 +4272,7 @@ Gateway hops are already opened." | |||
| 4272 | (setq choices tramp-default-proxies-alist))))) | 4272 | (setq choices tramp-default-proxies-alist))))) |
| 4273 | 4273 | ||
| 4274 | ;; Handle gateways. | 4274 | ;; Handle gateways. |
| 4275 | (when (and tramp-gw-tunnel-method tramp-gw-socks-method | 4275 | (when (and (boundp 'tramp-gw-tunnel-method) (boundp 'tramp-gw-socks-method) |
| 4276 | (string-match | 4276 | (string-match |
| 4277 | (format | 4277 | (format |
| 4278 | "^\\(%s\\|%s\\)$" tramp-gw-tunnel-method tramp-gw-socks-method) | 4278 | "^\\(%s\\|%s\\)$" tramp-gw-tunnel-method tramp-gw-socks-method) |
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index ea3b5d56a38..4f31e95aeff 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -1158,7 +1158,7 @@ If the `tramp-methods' entry does not exist, return nil." | |||
| 1158 | It checks also, whether NAME is unibyte encoded." | 1158 | It checks also, whether NAME is unibyte encoded." |
| 1159 | (save-match-data | 1159 | (save-match-data |
| 1160 | (and (stringp name) | 1160 | (and (stringp name) |
| 1161 | (string-equal name (string-as-unibyte name)) | 1161 | ; (string-equal name (string-as-unibyte name)) |
| 1162 | (string-match tramp-file-name-regexp name)))) | 1162 | (string-match tramp-file-name-regexp name)))) |
| 1163 | 1163 | ||
| 1164 | (defun tramp-find-method (method user host) | 1164 | (defun tramp-find-method (method user host) |