summaryrefslogtreecommitdiff
path: root/lisp/net
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2008-02-03 12:00:51 +0000
committerMichael Albinus <michael.albinus@gmx.de>2008-02-03 12:00:51 +0000
commit7bb7efbd4aa34b87aef6f468a485a9eb3b16ba18 (patch)
tree53cc2299567f2e50dca0d0ee095cbe0c47ebad32 /lisp/net
parent4228da3ac889fa2fc40570693b77ba14bfb2f724 (diff)
downloademacs-7bb7efbd4aa34b87aef6f468a485a9eb3b16ba18.tar.gz
* dbus.el (top): Check (featurep 'dbusbind).
Diffstat (limited to 'lisp/net')
-rw-r--r--lisp/net/dbus.el4
1 files changed, 4 insertions, 0 deletions
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"