summaryrefslogtreecommitdiff
path: root/lisp/net/tramp-cache.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-08-25 18:58:54 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2015-08-25 19:00:21 -0700
commitb12cfbfda0141e7312bff4b466f35da4debc438d (patch)
tree11bf93eba498d0087a5d5a0d0144b59084eeb122 /lisp/net/tramp-cache.el
parent27b2cff245fb1c22f831b63810d1266c92b31ba6 (diff)
Go back to grave quoting in Tramp
* lisp/net/tramp-adb.el: * lisp/net/tramp-cache.el: * lisp/net/tramp-compat.el: * lisp/net/tramp-gvfs.el: * lisp/net/tramp-gw.el: * lisp/net/tramp-sh.el: * lisp/net/tramp-smb.el: * lisp/net/tramp.el: Stick with grave quoting in diagnostics strings. This is more portable to older Emacs, desirable for Tramp. * lisp/net/tramp-cache.el: Use ‘format-message’, not ‘format’, for diagnostic that needs requoting. * lisp/net/tramp-compat.el (format-message): Fall back on simple ‘format’, since that’s good enough now.
Diffstat (limited to 'lisp/net/tramp-cache.el')
-rw-r--r--lisp/net/tramp-cache.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/net/tramp-cache.el b/lisp/net/tramp-cache.el
index c1d6a284a7..8f60ac401f 100644
--- a/lisp/net/tramp-cache.el
+++ b/lisp/net/tramp-cache.el
@@ -440,8 +440,8 @@ for all methods. Resulting data are derived from connection history."
(clrhash tramp-cache-data))
(error
;; File is corrupted.
- (message "Tramp persistency file ‘%s’ is corrupted: %s"
- tramp-persistency-file-name (error-message-string err))
+ (format-message "Tramp persistency file `%s' is corrupted: %s"
+ tramp-persistency-file-name (error-message-string err))
(clrhash tramp-cache-data))))
(add-hook 'tramp-unload-hook