From: Michael Albinus Date: Wed, 1 Apr 2020 10:09:29 +0000 (+0200) Subject: Avoid error messages loading trampver.el X-Git-Tag: emacs-28.0.90~7680 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e2165eef3d6f37aca83ea592e928fdb1cac5b569;p=emacs.git Avoid error messages loading trampver.el * lisp/net/trampver.el (tramp-repository-branch) (tramp-repository-version): Bind `debug-on-error' to nil. --- 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)