summaryrefslogtreecommitdiff
path: root/lisp/net/tramp-cmds.el
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2008-06-15 13:40:27 +0000
committerMichael Albinus <michael.albinus@gmx.de>2008-06-15 13:40:27 +0000
commit6f77e7d72ed91a459b6ca47ff67d01a0b3ee3b51 (patch)
treebff408afb0f6ace4e10842112de63f8993d2f83d /lisp/net/tramp-cmds.el
parent11c712173eb2b012b45bde54a2815810c953edb5 (diff)
downloademacs-6f77e7d72ed91a459b6ca47ff67d01a0b3ee3b51.tar.gz
emacs-6f77e7d72ed91a459b6ca47ff67d01a0b3ee3b51.tar.bz2
emacs-6f77e7d72ed91a459b6ca47ff67d01a0b3ee3b51.zip
* net/tramp-cmds.el (tramp-cleanup-all-connections): Reset
`tramp-locked'.
Diffstat (limited to 'lisp/net/tramp-cmds.el')
-rw-r--r--lisp/net/tramp-cmds.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/net/tramp-cmds.el b/lisp/net/tramp-cmds.el
index fae9e699c05..6acce78c02c 100644
--- a/lisp/net/tramp-cmds.el
+++ b/lisp/net/tramp-cmds.el
@@ -102,6 +102,9 @@ When called interactively, a Tramp connection has to be selected."
This includes password cache, file cache, connection cache, buffers."
(interactive)
+ ;; Unlock Tramp.
+ (setq tramp-locked nil)
+
;; Flush password cache.
(when (functionp 'password-reset)
(funcall (symbol-function 'password-reset)))