summaryrefslogtreecommitdiff
path: root/lisp/net/tramp.el
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2020-09-05 19:29:12 +0200
committerMichael Albinus <michael.albinus@gmx.de>2020-09-05 19:29:12 +0200
commita04e76ac7d553b48bd35c1331b3e6720de3ec4cc (patch)
tree14decf68f4ecb3dcf9a5ebfd07e7243e24544f0a /lisp/net/tramp.el
parent82b695faa3c501fc59b1972c43284d7e02510d7f (diff)
downloademacs-a04e76ac7d553b48bd35c1331b3e6720de3ec4cc.tar.gz
emacs-a04e76ac7d553b48bd35c1331b3e6720de3ec4cc.tar.bz2
emacs-a04e76ac7d553b48bd35c1331b3e6720de3ec4cc.zip
Minor improvements in Tramp error reporting
* lisp/net/tramp-cmds.el (tramp-bug): Handle `tramp-suppress-trace' property. (tramp-reporter-dump-variable): Improve variable dump. * lisp/net/tramp.el (tramp--startup-hook, tramp-password-save-function): Add `tramp-suppress-trace' property.
Diffstat (limited to 'lisp/net/tramp.el')
-rw-r--r--lisp/net/tramp.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index 28067faba30..96446399dd6 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -80,6 +80,7 @@
(eval-and-compile ;; So it's also available in tramp-loaddefs.el!
(defvar tramp--startup-hook nil
"Forms to be executed at the end of tramp.el.")
+ (put 'tramp--startup-hook 'tramp-suppress-trace t)
(defmacro tramp--with-startup (&rest body)
"Schedule BODY to be executed at the end of tramp.el."
@@ -1241,6 +1242,7 @@ the (optional) timestamp of last activity on this connection.")
"Password save function.
Will be called once the password has been verified by successful
authentication.")
+(put 'tramp-password-save-function 'tramp-suppress-trace t)
(defconst tramp-completion-file-name-handler-alist
'((file-name-all-completions