]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/net/tramp-gvfs.el (initialize): Ignore D-Bus errors.
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 14 May 2023 11:16:36 +0000 (13:16 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 14 May 2023 11:16:36 +0000 (13:16 +0200)
lisp/net/tramp-gvfs.el

index e3b42acfed5c29e338f05ce9087e8336b4855f80..e214d610c91fc4182fd9d2c42d4a340076609d12 100644 (file)
@@ -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)