; Fix typo in Tramp

* lisp/net/tramp-cache.el (with-tramp-saved-connection-property):
Fix typo.
This commit is contained in:
Michael Albinus 2025-04-06 09:11:06 +02:00
parent 684adc07c2
commit bb756b195a

View file

@ -473,10 +473,10 @@ used to cache connection properties of the local machine."
(hash (tramp-get-hash-table key))
(cached (and (hash-table-p hash)
(gethash ,property hash tramp-cache-undefined))))
(tramp-message key 7 "Saved %s %s" property cached)
(tramp-message key 7 "Saved %s %s" ,property cached)
(unwind-protect (progn ,@body)
;; Reset PROPERTY. Recompute hash, it could have been flushed.
(tramp-message key 7 "Restored %s %s" property cached)
(tramp-message key 7 "Restored %s %s" ,property cached)
(setq hash (tramp-get-hash-table key))
(if (not (eq cached tramp-cache-undefined))
(puthash ,property cached hash)