aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Albinus2010-10-03 11:23:07 +0200
committerMichael Albinus2010-10-03 11:23:07 +0200
commita79b0f2863d2222fed175f6c6b3d535590c59558 (patch)
tree1a105ee621607ee8a958e031e9ddd6a9f3b5ceae /src
parent83b8ea28ea1d3f9f7c73af717fefaaeca18a1594 (diff)
downloademacs-a79b0f2863d2222fed175f6c6b3d535590c59558.tar.gz
emacs-a79b0f2863d2222fed175f6c6b3d535590c59558.zip
* dbusbind.c (syms_of_dbusbind): Move putenv call ...
(Fdbus_init_bus): ... here. (Bug#7113)
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/dbusbind.c10
2 files changed, 11 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e985c8f84cf..156e64a1d45 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12010-10-03 Michael Albinus <michael.albinus@gmx.de>
2
3 * dbusbind.c (syms_of_dbusbind): Move putenv call ...
4 (Fdbus_init_bus): ... here. (Bug#7113)
5
12010-10-03 Glenn Morris <rgm@gnu.org> 62010-10-03 Glenn Morris <rgm@gnu.org>
2 7
3 * buffer.c (before-change-functions, after-change-functions): 8 * buffer.c (before-change-functions, after-change-functions):
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);