# HG changeset patch # User Michael Albinus # Date 1202040051 0 # Node ID 7ddf7059d1310e8bcc4a306ab732bd2781748d40 # Parent 5fc145fcebe297c4feae7935b3e392a815805fff * dbus.el (top): Check (featurep 'dbusbind). diff -r 5fc145fcebe2 -r 7ddf7059d131 lisp/net/dbus.el --- a/lisp/net/dbus.el Sun Feb 03 11:58:58 2008 +0000 +++ b/lisp/net/dbus.el Sun Feb 03 12:00:51 2008 +0000 @@ -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"