From e2165eef3d6f37aca83ea592e928fdb1cac5b569 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Wed, 1 Apr 2020 12:09:29 +0200 Subject: [PATCH] Avoid error messages loading trampver.el * lisp/net/trampver.el (tramp-repository-branch) (tramp-repository-version): Bind `debug-on-error' to nil. --- lisp/net/trampver.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/net/trampver.el b/lisp/net/trampver.el index 0a92e0d3202..8d21133b3b1 100644 --- a/lisp/net/trampver.el +++ b/lisp/net/trampver.el @@ -48,6 +48,7 @@ ;; Suppress message from `emacs-repository-get-branch'. We must ;; also handle out-of-tree builds. (let ((inhibit-message t) + (debug-on-error nil) (dir (or (locate-dominating-file (locate-library "tramp") ".git") source-directory))) ;; `emacs-repository-get-branch' has been introduced with Emacs 27.1. @@ -61,6 +62,7 @@ ;; Suppress message from `emacs-repository-get-version'. We must ;; also handle out-of-tree builds. (let ((inhibit-message t) + (debug-on-error nil) (dir (or (locate-dominating-file (locate-library "tramp") ".git") source-directory))) (and (stringp dir) (file-directory-p dir) -- 2.39.5