mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-02 08:22:22 +00:00
Avoid error messages loading trampver.el
* lisp/net/trampver.el (tramp-repository-branch) (tramp-repository-version): Bind `debug-on-error' to nil.
This commit is contained in:
parent
319a2a7427
commit
e2165eef3d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user