]> git.eshelyaron.com Git - emacs.git/commit
Use a version for the Tramp cache
authorMichael Albinus <michael.albinus@gmx.de>
Sat, 1 Oct 2022 15:17:39 +0000 (17:17 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Sat, 1 Oct 2022 15:17:39 +0000 (17:17 +0200)
commit405466b79c4cc935f98a722d7d7ae9c2cf6eb4b6
treee1e713ef5e0bbcde2fef5505a373ae655724a1a1
parent55f46cc77cb9d72fbabadb63d8aeab45c5e005e2
Use a version for the Tramp cache

* lisp/net/tramp-cache.el (tramp-cache-version): New defconst.
(top): Check the cache version, and flush the cache in case of
mismatch.  Suggested by Paul Pogonyshev <pogonyshev@gmail.com>.

* lisp/net/tramp-cmds.el (tramp-cleanup-all-connections):
Re-initialize the cache version.
lisp/net/tramp-cache.el
lisp/net/tramp-cmds.el