emacs-diffs
[Top][All Lists]
Advanced

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

master 0bb3aec: Ignore D-Bus errors in tramp-gvfs.el (Bug#40655)


From: Michael Albinus
Subject: master 0bb3aec: Ignore D-Bus errors in tramp-gvfs.el (Bug#40655)
Date: Thu, 16 Apr 2020 13:51:31 -0400 (EDT)

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

    Ignore D-Bus errors in tramp-gvfs.el (Bug#40655)
    
    * lisp/net/tramp-gvfs.el (with-tramp-dbus-call-method): Ignore D-Bus
    errors.  (Bug#40655)
---
 lisp/net/tramp-gvfs.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/net/tramp-gvfs.el b/lisp/net/tramp-gvfs.el
index 526c564..f19e510 100644
--- a/lisp/net/tramp-gvfs.el
+++ b/lisp/net/tramp-gvfs.el
@@ -912,7 +912,9 @@ or `dbus-call-method-asynchronously'."
                   #'dbus-call-method #'dbus-call-method-asynchronously))
         (args (append (list ,bus ,service ,path ,interface ,method)
                       (if ,synchronous (list ,@args) (list 'ignore ,@args)))))
-     (tramp-dbus-function ,vec func args)))
+     ;; We use `dbus-ignore-errors', because this macro is also called
+     ;; when loading.
+     (dbus-ignore-errors (tramp-dbus-function ,vec func args))))
 
 (font-lock-add-keywords 'emacs-lisp-mode 
'("\\<with-tramp-dbus-call-method\\>"))
 



reply via email to

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