Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
05ca27d8
Commit
05ca27d8
authored
Nov 25, 2013
by
Michael Albinus
Browse files
* net/tramp-cmds.el (tramp-cleanup-connection): Clean up
`tramp-current-connection' only when KEEP-PASSWORD is non-nil.
parent
e82ad66c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/net/tramp-cmds.el
lisp/net/tramp-cmds.el
+5
-4
No files found.
lisp/ChangeLog
View file @
05ca27d8
2013-11-25 Michael Albinus <michael.albinus@gmx.de>
* net/tramp-cmds.el (tramp-cleanup-connection): Clean up
`tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
* play/gomoku.el: Don't use intangible property. Use lexical-binding.
...
...
lisp/net/tramp-cmds.el
View file @
05ca27d8
...
...
@@ -85,13 +85,14 @@ 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
))
;; Cleanup `tramp-current-connection'. Otherwise, we would be
;; suppressed in the test suite. We use `keep-password' as
;; indicator; it is not worth to add a new argument.
(
when
keep-password
(
setq
tramp-current-connection
nil
))
;; Flush file cache.
(
tramp-flush-directory-property
vec
""
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment