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)
This commit is contained in:
parent
22ba047420
commit
0bb3aec267
1 changed files with 3 additions and 1 deletions
|
@ -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\\>"))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue