; * test/lisp/net/dbus-tests.el: hush warnings on no-dbus platforms

This commit is contained in:
Mattias Engdegård 2026-01-21 15:36:52 +01:00
parent 9d8e1af6f4
commit fe2469c1c1

View file

@ -28,6 +28,10 @@
(defvar dbus-debug)
(defvar dbus-message-type-signal)
(declare-function dbus-get-unique-name "dbusbind.c" (bus))
(declare-function dbus-close-inhibitor-lock "dbusbind.c" (lock))
(declare-function dbus-registered-inhibitor-locks' "dbusbind.c" ())
(declare-function dbus-make-inhibitor-lock' "dbusbind.c"
(what why &optional block))
(defconst dbus--test-enabled-session-bus
(and (featurep 'dbusbind)