Commit 61642d9a authored by Michael Albinus's avatar Michael Albinus

* 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.
parent 9dbda100
2013-01-31 Michael Albinus <michael.albinus@gmx.de>
* 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.
2013-01-31 Glenn Morris <rgm@gnu.org>
* files.el (basic-save-buffer-2): Choose coding system for
......
......@@ -4272,7 +4272,7 @@ Gateway hops are already opened."
(setq choices tramp-default-proxies-alist)))))
;; Handle gateways.
(when (and tramp-gw-tunnel-method tramp-gw-socks-method
(when (and (boundp 'tramp-gw-tunnel-method) (boundp 'tramp-gw-socks-method)
(string-match
(format
"^\\(%s\\|%s\\)$" tramp-gw-tunnel-method tramp-gw-socks-method)
......
......@@ -1158,7 +1158,7 @@ If the `tramp-methods' entry does not exist, return nil."
It checks also, whether NAME is unibyte encoded."
(save-match-data
(and (stringp name)
(string-equal name (string-as-unibyte name))
; (string-equal name (string-as-unibyte name))
(string-match tramp-file-name-regexp name))))
(defun tramp-find-method (method user host)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment