Commit 674a9263 authored by Michael Albinus's avatar Michael Albinus
Browse files

* net/tramp-cache.el (tramp-flush-connection-property): The hash

can be empty.
parent 46bcd78c
......@@ -240,10 +240,12 @@ KEY identifies the connection, it is either a process or a vector."
(aset key 3 nil))
key 7 "%s %s" key
(let (properties)
(lambda (x y) (add-to-list 'properties x 'append))
(gethash key tramp-cache-data))
(let ((hash (gethash key tramp-cache-data))
(if (hash-table-p hash)
(lambda (x y) (add-to-list 'properties x 'append))
(gethash key tramp-cache-data)))
(setq tramp-cache-data-changed t)
(remhash key tramp-cache-data))
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