From: Michael Albinus Date: Sun, 14 May 2023 11:16:36 +0000 (+0200) Subject: * lisp/net/tramp-gvfs.el (initialize): Ignore D-Bus errors. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ad8a17e1bfd77d3107c16a53d47794194cbf2750;p=emacs.git * lisp/net/tramp-gvfs.el (initialize): Ignore D-Bus errors. --- 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 for valid service types. (zeroconf-init tramp-gvfs-zeroconf-domain)