changeset 91484:7ddf7059d131

* dbus.el (top): Check (featurep 'dbusbind).
author Michael Albinus <michael.albinus@gmx.de>
date Sun, 03 Feb 2008 12:00:51 +0000
parents 5fc145fcebe2
children 202f9737703b
files lisp/net/dbus.el
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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"