]> git.eshelyaron.com Git - emacs.git/commit
Make dbus-unregister-object work for monitors
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 4 Oct 2020 16:56:45 +0000 (18:56 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 4 Oct 2020 16:56:45 +0000 (18:56 +0200)
commit96a8e846061f255b1a394a5854197aa742dfff84
treed61810b678df0c95bd4cfb28ea97c889ac02f1b9
parentd8665e6d3473403c90a0831e83439a013d0012d3
Make dbus-unregister-object work for monitors

* doc/misc/dbus.texi (Monitoring Messages): Rename from
"Monitoring Events".
(Register Objects, Monitoring Messages):
Mention returned object.

* lisp/net/dbus.el (dbus-unregister-object): Adapt docstring.
(dbus-unregister-object): Delete monitor if needed.
(dbus-register-monitor): Return proper object.

* src/dbusbind.c (dbus-registered-objects-table): Adapt docstring.

* test/lisp/net/dbus-tests.el (dbus--test-signal-handler):
Adapt docstring.
(dbus-test08-register-monitor): New test.
doc/misc/dbus.texi
lisp/net/dbus.el
src/dbusbind.c
test/lisp/net/dbus-tests.el