[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/doc/misc/dbus.texi,v
From: |
Michael Albinus |
Subject: |
[Emacs-diffs] Changes to emacs/doc/misc/dbus.texi,v |
Date: |
Sun, 13 Jul 2008 15:12:43 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Michael Albinus <albinus> 08/07/13 15:12:43
Index: dbus.texi
===================================================================
RCS file: /sources/emacs/emacs/doc/misc/dbus.texi,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- dbus.texi 15 Jun 2008 02:30:22 -0000 1.19
+++ dbus.texi 13 Jul 2008 15:12:43 -0000 1.20
@@ -550,7 +550,7 @@
client. Therefore, @var{handler} shall not last longer than
absolutely necessary.
address@hidden returns a Lisp symbol, which can be used
address@hidden returns a Lisp object, which can be used
as argument in @code{dbus-unregister-object} for removing the
registration for @var{method}. Example:
@@ -623,7 +623,7 @@
@end lisp
@end defun
address@hidden dbus-register-signal bus service path interface signal handler
address@hidden dbus-register-signal bus service path interface signal handler
&rest args
With this function, an application registers for @var{signal} on the
D-Bus @var{bus}.
@@ -648,7 +648,16 @@
@var{handler} is a Lisp function to be called when the @var{signal} is
received. It must accept as arguments the output parameters
address@hidden is sending. Example:
address@hidden is sending.
+
+All other arguments @var{args}, if specified, must be strings. They
+stand for the respective arguments of @var{signal} in their order, and
+are used for filtering as well. A @code{nil} argument might be used
+to preserve the order.
+
address@hidden returns a Lisp object, which can be used
+as argument in @code{dbus-unregister-object} for removing the
+registration for @var{signal}. Example:
@lisp
(defun my-dbus-signal-handler (device)
@@ -673,10 +682,6 @@
single string argument therefore. Plugging an USB device to your
machine, when registered for signal @code{DeviceAdded}, will show you
which objects the GNU/Linux @code{hal} daemon adds.
-
address@hidden returns a Lisp symbol, which can be used
-as argument in @code{dbus-unregister-object} for removing the
-registration for @var{signal}.
@end defun
@defun dbus-unregister-object object
- [Emacs-diffs] Changes to emacs/doc/misc/dbus.texi,v,
Michael Albinus <=