emacs-diffs
[Top][All Lists]
Advanced

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

master ad8a17e1bfd: * lisp/net/tramp-gvfs.el (initialize): Ignore D-Bus


From: Michael Albinus
Subject: master ad8a17e1bfd: * lisp/net/tramp-gvfs.el (initialize): Ignore D-Bus errors.
Date: Sun, 14 May 2023 07:16:52 -0400 (EDT)

branch: master
commit ad8a17e1bfd77d3107c16a53d47794194cbf2750
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>

    * lisp/net/tramp-gvfs.el (initialize): Ignore D-Bus errors.
---
 lisp/net/tramp-gvfs.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/net/tramp-gvfs.el b/lisp/net/tramp-gvfs.el
index e3b42acfed5..e214d610c91 100644
--- a/lisp/net/tramp-gvfs.el
+++ b/lisp/net/tramp-gvfs.el
@@ -2537,7 +2537,8 @@ This uses \"avahi-browse\" in case D-Bus is not enabled 
in Avahi."
   (let ((tramp-verbose 0)
        tramp-gvfs-dbus-event-vector fun)
     (when (and (autoload 'zeroconf-init "zeroconf")
-              (tramp-compat-funcall 'dbus-get-unique-name :system))
+               (ignore-error dbus-error
+                (tramp-compat-funcall 'dbus-get-unique-name :system)))
       ;; Add completion functions for services announced by DNS-SD.
       ;; See <http://www.dns-sd.org/ServiceTypes.html> for valid service types.
       (zeroconf-init tramp-gvfs-zeroconf-domain)



reply via email to

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