From 90ae1ae776196f42b5a8f21875284fefdcff5d93 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Sat, 10 Nov 2018 15:47:08 +0100 Subject: [PATCH] * lisp/net/tramp-cache.el (tramp-cache-print): Handle mutexes. --- lisp/net/tramp-cache.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)))) -- 2.39.5