diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2010-10-08 12:14:47 +0200 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2010-10-08 12:14:47 +0200 |
commit | 4628bef1eea0f60e846fe6b6591725aa92952de9 (patch) | |
tree | 9d137b8e0964c0b1ebc4afb4e743e35b807d048d /src/dbusbind.c | |
parent | 24ac444fbe5d76a7cf09a62b741b9e956ab90d3e (diff) | |
parent | 2b7c934285417d2eac7a3c603231d22ce7e212d8 (diff) | |
download | emacs-4628bef1eea0f60e846fe6b6591725aa92952de9.tar.gz |
Merge changes from emacs-23 branch.
Diffstat (limited to 'src/dbusbind.c')
-rw-r--r-- | src/dbusbind.c | 10 |
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, /* Add bus to list of registered buses. */ Vdbus_registered_buses = Fcons (bus, Vdbus_registered_buses); + /* We do not want to abort. */ + putenv ("DBUS_FATAL_WARNINGS=0"); + /* Return. */ return Qnil; } @@ -2160,12 +2163,11 @@ be called when the D-Bus reply message arrives. */); doc: /* If non-nil, debug messages of D-Bus bindings are raised. */); #ifdef DBUS_DEBUG Vdbus_debug = Qt; - /* We can also set environment DBUS_VERBOSE=1 in order to see more - traces. */ + /* We can also set environment variable DBUS_VERBOSE=1 in order to + see more traces. This requires libdbus-1 to be configured with + --enable-verbose-mode. */ #else Vdbus_debug = Qnil; - /* We do not want to abort. */ - setenv ("DBUS_FATAL_WARNINGS", "0", 1); #endif Fprovide (intern_c_string ("dbusbind"), Qnil); |