From: Michael Albinus Date: Sat, 10 Nov 2018 14:47:08 +0000 (+0100) Subject: * lisp/net/tramp-cache.el (tramp-cache-print): Handle mutexes. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=90ae1ae776196f42b5a8f21875284fefdcff5d93;p=emacs.git * lisp/net/tramp-cache.el (tramp-cache-print): Handle mutexes. --- diff --git a/lisp/net/tramp-cache.el b/lisp/net/tramp-cache.el index ebb4254dab4..5e7cc84bb0c 100644 --- a/lisp/net/tramp-cache.el +++ b/lisp/net/tramp-cache.el @@ -373,7 +373,9 @@ used to cache connection properties of the local machine." (prin1-to-string key)) (if (hash-table-p value) (tramp-cache-print value) - (if (bufferp value) + (if (or (bufferp value) + ;; Mutexes have entered Emacs 26.1. + (tramp-compat-funcall 'mutexp value)) (prin1-to-string (prin1-to-string value)) (prin1-to-string value)))))) (setq result (if result (concat result " " tmp) tmp))))