emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master e2165ee: Avoid error messages loading trampver.el


From: Michael Albinus
Subject: master e2165ee: Avoid error messages loading trampver.el
Date: Wed, 1 Apr 2020 06:09:38 -0400 (EDT)

branch: master
commit e2165eef3d6f37aca83ea592e928fdb1cac5b569
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>

    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 0a92e0d..8d21133 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]