From 7bb7efbd4aa34b87aef6f468a485a9eb3b16ba18 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Sun, 3 Feb 2008 12:00:51 +0000 Subject: [PATCH] * dbus.el (top): Check (featurep 'dbusbind). --- lisp/net/dbus.el | 4 ++++ 1 file changed, 4 insertions(+) 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" -- 2.39.5