aboutsummaryrefslogtreecommitdiffstats
path: root/src/dbusbind.c
diff options
context:
space:
mode:
authorKenichi Handa2010-10-04 10:53:48 +0900
committerKenichi Handa2010-10-04 10:53:48 +0900
commitff06de4f50becfe9d5fc16699531ce9802ee0b7f (patch)
tree7bb9e0d3b33d9469ea9018a16f9ca288fa399db6 /src/dbusbind.c
parent5886ec9c0c7a250d987ac6180577b4574ea00f21 (diff)
parent397ae2261860609d3f320b9c4255ca8f92353c50 (diff)
downloademacs-ff06de4f50becfe9d5fc16699531ce9802ee0b7f.tar.gz
emacs-ff06de4f50becfe9d5fc16699531ce9802ee0b7f.zip
merge emacs-23
Diffstat (limited to 'src/dbusbind.c')
-rw-r--r--src/dbusbind.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/dbusbind.c b/src/dbusbind.c
index f3a573d3bce..460cf52364e 100644
--- a/src/dbusbind.c
+++ b/src/dbusbind.c
@@ -854,6 +854,9 @@ This is an internal function, it shall not be used outside dbus.el. */)
854 NULL, (void*) XHASH (bus), NULL)) 854 NULL, (void*) XHASH (bus), NULL))
855 XD_SIGNAL1 (build_string ("Cannot add watch functions")); 855 XD_SIGNAL1 (build_string ("Cannot add watch functions"));
856 856
857 /* We do not want to abort. */
858 putenv ("DBUS_FATAL_WARNINGS=0");
859
857 /* Return. */ 860 /* Return. */
858 return Qnil; 861 return Qnil;
859} 862}
@@ -2130,12 +2133,11 @@ message arrives. */);
2130 doc: /* If non-nil, debug messages of D-Bus bindings are raised. */); 2133 doc: /* If non-nil, debug messages of D-Bus bindings are raised. */);
2131#ifdef DBUS_DEBUG 2134#ifdef DBUS_DEBUG
2132 Vdbus_debug = Qt; 2135 Vdbus_debug = Qt;
2133 /* We can also set environment DBUS_VERBOSE=1 in order to see more 2136 /* We can also set environment variable DBUS_VERBOSE=1 in order to
2134 traces. */ 2137 see more traces. This requires libdbus-1 to be configured with
2138 --enable-verbose-mode. */
2135#else 2139#else
2136 Vdbus_debug = Qnil; 2140 Vdbus_debug = Qnil;
2137 /* We do not want to abort. */
2138 putenv ("DBUS_FATAL_WARNINGS=0");
2139#endif 2141#endif
2140 2142
2141 Fprovide (intern_c_string ("dbusbind"), Qnil); 2143 Fprovide (intern_c_string ("dbusbind"), Qnil);