summaryrefslogtreecommitdiff
path: root/net/tramp/files/patch-tramp.el
blob: 48e7d1b9cd8b53b8e930eede9423ffd4fdd346c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- lisp/tramp.el.orig	Sat Sep 23 19:12:34 2006
+++ lisp/tramp.el	Sat Sep 23 19:13:19 2006
@@ -5922,8 +5922,8 @@
   "Return the right method string to use.
 This is METHOD, if non-nil. Otherwise, do a lookup in
 `tramp-default-method-alist'."
-  (if (tramp-completion-mode)
-      method
+;  (if (tramp-completion-mode)
+;      method
     (or method
 	(let ((choices tramp-default-method-alist)
 	      lmethod item)
@@ -5934,7 +5934,7 @@
 	      (setq lmethod (nth 2 item))
 	      (setq choices nil)))
 	  lmethod)
-	tramp-default-method)))
+	tramp-default-method));)
 
 (defsubst tramp-find-user (method user host)
   "Return the right user string to use.