summaryrefslogtreecommitdiff
path: root/lisp/net/dbus.el
diff options
context:
space:
mode:
authorBasil L. Contovounesios <contovob@tcd.ie>2020-09-06 15:38:28 +0100
committerBasil L. Contovounesios <contovob@tcd.ie>2020-09-06 15:38:28 +0100
commit92bec37d56099940edd07e73bed607765e1c55c6 (patch)
treef4923ba563863b37fc4493000244477a0b4beda9 /lisp/net/dbus.el
parent6fc502c1ef327ab357c971b9bffbbd7cb6a436f1 (diff)
downloademacs-92bec37d56099940edd07e73bed607765e1c55c6.tar.gz
; Minor touchups to recent D-Bus changes
* doc/misc/dbus.texi (Receiving Method Calls): Use lowercase @var names. * lisp/net/dbus.el (dbus-register-method): Don't quote nil in docstring. (dbus-get-this-registered-property): Simplify double negation.
Diffstat (limited to 'lisp/net/dbus.el')
-rw-r--r--lisp/net/dbus.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/net/dbus.el b/lisp/net/dbus.el
index 639b766d426..ad5ff8d450e 100644
--- a/lisp/net/dbus.el
+++ b/lisp/net/dbus.el
@@ -802,7 +802,7 @@ received. It must accept the input arguments of METHOD. The
return value of HANDLER is used for composing the returning D-Bus
message. If HANDLER returns a reply message with an empty
argument list, HANDLER must return the symbol `:ignore' in order
-to distinguish it from `nil' (the boolean false).
+to distinguish it from nil (the boolean false).
If HANDLER detects an error, it shall return the list `(:error
ERROR-NAME ERROR-MESSAGE)'. ERROR-NAME is a namespaced string
@@ -1459,9 +1459,9 @@ nil is returned."
"Return PROPERTY entry of `dbus-registered-objects-table'.
Filter out not matching PATH."
;; Remove entries not belonging to this case.
- (seq-remove
+ (seq-filter
(lambda (item)
- (not (string-equal path (nth 2 item))))
+ (string-equal path (nth 2 item)))
(gethash (list :property bus interface property)
dbus-registered-objects-table)))