aboutsummaryrefslogtreecommitdiffstats
path: root/src/dbusbind.c
diff options
context:
space:
mode:
authorJuanma Barranquero2010-10-08 12:14:47 +0200
committerJuanma Barranquero2010-10-08 12:14:47 +0200
commit4628bef1eea0f60e846fe6b6591725aa92952de9 (patch)
tree9d137b8e0964c0b1ebc4afb4e743e35b807d048d /src/dbusbind.c
parent24ac444fbe5d76a7cf09a62b741b9e956ab90d3e (diff)
parent2b7c934285417d2eac7a3c603231d22ce7e212d8 (diff)
downloademacs-4628bef1eea0f60e846fe6b6591725aa92952de9.tar.gz
emacs-4628bef1eea0f60e846fe6b6591725aa92952de9.zip
Merge changes from emacs-23 branch.
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 99a157fbc76..683b7cb583b 100644
--- a/src/dbusbind.c
+++ b/src/dbusbind.c
@@ -900,6 +900,9 @@ DEFUN ("dbus-init-bus", Fdbus_init_bus, Sdbus_init_bus, 1, 1, 0,
900 /* Add bus to list of registered buses. */ 900 /* Add bus to list of registered buses. */
901 Vdbus_registered_buses = Fcons (bus, Vdbus_registered_buses); 901 Vdbus_registered_buses = Fcons (bus, Vdbus_registered_buses);
902 902
903 /* We do not want to abort. */
904 putenv ("DBUS_FATAL_WARNINGS=0");
905
903 /* Return. */ 906 /* Return. */
904 return Qnil; 907 return Qnil;
905} 908}
@@ -2160,12 +2163,11 @@ be called when the D-Bus reply message arrives. */);
2160 doc: /* If non-nil, debug messages of D-Bus bindings are raised. */); 2163 doc: /* If non-nil, debug messages of D-Bus bindings are raised. */);
2161#ifdef DBUS_DEBUG 2164#ifdef DBUS_DEBUG
2162 Vdbus_debug = Qt; 2165 Vdbus_debug = Qt;
2163 /* We can also set environment DBUS_VERBOSE=1 in order to see more 2166 /* We can also set environment variable DBUS_VERBOSE=1 in order to
2164 traces. */ 2167 see more traces. This requires libdbus-1 to be configured with
2168 --enable-verbose-mode. */
2165#else 2169#else
2166 Vdbus_debug = Qnil; 2170 Vdbus_debug = Qnil;
2167 /* We do not want to abort. */
2168 setenv ("DBUS_FATAL_WARNINGS", "0", 1);
2169#endif 2171#endif
2170 2172
2171 Fprovide (intern_c_string ("dbusbind"), Qnil); 2173 Fprovide (intern_c_string ("dbusbind"), Qnil);