diff --git a/lisp/net/dbus.el b/lisp/net/dbus.el index ef84db1ccf7..6ecd0065606 100644 --- a/lisp/net/dbus.el +++ b/lisp/net/dbus.el @@ -32,6 +32,10 @@ ;;; Code: +;; D-Bus support in the Emacs core can be disabled with configuration +;; option "--without-dbus". Check it. +(assert (featurep 'dbusbind) nil "D-Bus is not supported") + (require 'xml) (defconst dbus-service-dbus "org.freedesktop.DBus"