* net/tramp-cmds.el (tramp-cleanup-connection): Clean up

`tramp-current-connection'.
This commit is contained in:
Michael Albinus 2013-11-16 12:37:45 +01:00
parent d17f4dba9c
commit 355204ddd5
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2013-11-16 Michael Albinus <michael.albinus@gmx.de>
* net/tramp-cmds.el (tramp-cleanup-connection): Clean up
`tramp-current-connection'.
2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
* progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for

View file

@ -85,6 +85,10 @@ When called interactively, a Tramp connection has to be selected."
;; Nothing to do.
(message "No Tramp connection found.")
;; Cleanup `tramp-current-connection'. Otherwise, we would be
;; suppressed in the test suite.
(setq tramp-current-connection nil)
;; Flush password cache.
(unless keep-password (tramp-clear-passwd vec))