]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/net/tramp-cache.el (tramp-cache-print): Handle mutexes.
authorMichael Albinus <michael.albinus@gmx.de>
Sat, 10 Nov 2018 14:47:08 +0000 (15:47 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Sat, 10 Nov 2018 14:47:08 +0000 (15:47 +0100)
lisp/net/tramp-cache.el

index ebb4254dab45eb232e6dfba59efd4e360504ffb4..5e7cc84bb0ce0107b66901aef7c9914dfd1136bb 100644 (file)
@@ -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))))