[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] feature/tramp-thread-safe 90ae1ae: * lisp/net/tramp-cache.
From: |
Michael Albinus |
Subject: |
[Emacs-diffs] feature/tramp-thread-safe 90ae1ae: * lisp/net/tramp-cache.el (tramp-cache-print): Handle mutexes. |
Date: |
Sat, 10 Nov 2018 09:47:19 -0500 (EST) |
branch: feature/tramp-thread-safe
commit 90ae1ae776196f42b5a8f21875284fefdcff5d93
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>
* 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 ebb4254..5e7cc84 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))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] feature/tramp-thread-safe 90ae1ae: * lisp/net/tramp-cache.el (tramp-cache-print): Handle mutexes.,
Michael Albinus <=