1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-18 03:51:48 -07:00

* dbusbind.c (Fdbus_register_signal): When service is not

registered, use nil in Vdbus_registered_objects_table.  (Bug#9581)
This commit is contained in:
Michael Albinus 2011-09-25 18:00:02 +02:00
parent e2ee6f30ac
commit b2bf61aa89
2 changed files with 6 additions and 7 deletions

View file

@ -1,3 +1,8 @@
2011-09-25 Michael Albinus <michael.albinus@gmx.de>
* dbusbind.c (Fdbus_register_signal): When service is not
registered, use nil in Vdbus_registered_objects_table. (Bug#9581)
2011-09-25 Glenn Morris <rgm@gnu.org>
* buffer.c (truncate-lines): Doc fix.

View file

@ -2071,13 +2071,7 @@ usage: (dbus-register-signal BUS SERVICE PATH INTERFACE SIGNAL HANDLER &rest ARG
&& (SBYTES (service) > 0)
&& (strcmp (SSDATA (service), DBUS_SERVICE_DBUS) != 0)
&& (strncmp (SSDATA (service), ":", 1) != 0))
{
uname = call2 (intern ("dbus-get-name-owner"), bus, service);
/* When there is no unique name, we mark it with an empty
string. */
if (NILP (uname))
uname = empty_unibyte_string;
}
uname = call2 (intern ("dbus-get-name-owner"), bus, service);
else
uname = service;