From: Michael Albinus Date: Tue, 14 May 2024 08:49:52 +0000 (+0200) Subject: Trace Tramp user error X-Git-Tag: archive/raspbian/1%30.1+1-3+rpi1^2~2^2~20^2~1505 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=dd13ab0756bc28a02d7685d6ae4ee442a23a5b84;p=emacs.git Trace Tramp user error * lisp/net/tramp-androidsu.el (tramp-androidsu-maybe-open-connection): Use `tramp-user-error' for the traces. --- diff --git a/lisp/net/tramp-androidsu.el b/lisp/net/tramp-androidsu.el index 0910d274cc4..361e45b9de5 100644 --- a/lisp/net/tramp-androidsu.el +++ b/lisp/net/tramp-androidsu.el @@ -156,7 +156,8 @@ multibyte mode and waits for the shell prompt to appear." su-binary (shell-quote-argument (or (executable-find "su") - (user-error + (tramp-user-error + vec "No su binary is available in any of `exec-path'"))) command (format "PATH=%s exec %s - %s || exit" path su-binary user))