Merge from origin/emacs-28

0591aa6cd3 Revert an erroneous change in tramp-cache.el
This commit is contained in:
Stefan Kangas
2022-02-04 06:30:30 +01:00

View File

@@ -122,7 +122,7 @@ If KEY is `tramp-cache-undefined', don't create anything, and return nil."
(puthash key (make-hash-table :test #'equal) tramp-cache-data)))
(when (tramp-file-name-p key)
(dolist (elt tramp-connection-properties)
(when (tramp-compat-string-search
(when (string-match-p
(or (nth 0 elt) "")
(tramp-make-tramp-file-name key 'noloc))
(tramp-set-connection-property key (nth 1 elt) (nth 2 elt)))))