(unload-feature 'tramp-loaddefs 'force)
(unload-feature 'tramp-compat 'force)))
+;;; TODO:
+;;
+;; * Starting with Emacs 25.1, replace `tramp-message-show-message' by
+;; the reverse of `inhibit-message'.
+
(provide 'tramp-compat)
;;; tramp-compat.el ends here
"A directory file name, which looks like an archive.")
(setq password-cache-expiry nil
- tramp-verbose 0
tramp-cache-read-persistent-data t ;; For auth-sources.
tramp-copy-size-limit nil
tramp-message-show-message nil
- tramp-persistency-file-name nil)
+ tramp-persistency-file-name nil
+ tramp-verbose 0)
(defun tramp-archive--test-make-temp-name ()
"Return a temporary file name for test.
(skip-unless (tramp--test-enabled))
(dolist (quoted (if (tramp--test-expensive-test) '(nil t) '(nil)))
- (let ((tmp-name (tramp--test-make-temp-name nil quoted)))
+ (let ((tmp-name (tramp--test-make-temp-name nil quoted))
+ (inhibit-message t))
(unwind-protect
(progn
;; Write buffer. Use absolute and relative file name.
(skip-unless (tramp--test-emacs27-p))
(let* ((tmp-name (tramp--test-make-temp-name))
+ (inhibit-message t)
written-files
(advice (lambda (_start _end filename &rest _r)
(push filename written-files))))
(tmp-name2 (expand-file-name "foo" tmp-name1))
(enable-local-variables :all)
(enable-remote-dir-locals t)
+ (inhibit-message t)
kill-buffer-query-functions
connection-local-profile-alist connection-local-criteria-alist)
(unwind-protect
(tmp-name1 (tramp--test-make-temp-name nil quoted))
(tmp-name2 (expand-file-name "foo" tmp-name1))
(tramp-remote-process-environment tramp-remote-process-environment)
+ (inhibit-message t)
(vc-handled-backends
(with-parsed-tramp-file-name tramp-test-temporary-file-directory nil
(cond