From ad8a17e1bfd77d3107c16a53d47794194cbf2750 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Sun, 14 May 2023 13:16:36 +0200 Subject: * lisp/net/tramp-gvfs.el (initialize): Ignore D-Bus errors. --- lisp/net/tramp-gvfs.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp') 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) -- cgit v1.2.1