diff options
Diffstat (limited to 'src/dbusbind.c')
| -rw-r--r-- | src/dbusbind.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/dbusbind.c b/src/dbusbind.c index fa26f9e4168..54b0217799d 100644 --- a/src/dbusbind.c +++ b/src/dbusbind.c | |||
| @@ -233,8 +233,12 @@ xd_symbol_to_dbus_type (Lisp_Object object) | |||
| 233 | 233 | ||
| 234 | /* Transform the object to its string representation for debug | 234 | /* Transform the object to its string representation for debug |
| 235 | messages. */ | 235 | messages. */ |
| 236 | #define XD_OBJECT_TO_STRING(object) \ | 236 | static char * |
| 237 | SDATA (format2 ("%s", object, Qnil)) | 237 | XD_OBJECT_TO_STRING (Lisp_Object object) |
| 238 | { | ||
| 239 | AUTO_STRING (format, "%s"); | ||
| 240 | return SSDATA (CALLN (Fformat, format, object)); | ||
| 241 | } | ||
| 238 | 242 | ||
| 239 | #define XD_DBUS_VALIDATE_BUS_ADDRESS(bus) \ | 243 | #define XD_DBUS_VALIDATE_BUS_ADDRESS(bus) \ |
| 240 | do { \ | 244 | do { \ |