aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2021-03-05 17:51:22 +0100
committerMichael Albinus2021-03-05 17:51:22 +0100
commitcb87eeff1bf88d9d1849c452e8b9953b06ada454 (patch)
tree5ceec04d22d3a4760d6f6c9419c6f44b4d1120e8
parent986a919523cb963539cceadfda511eaf8a64d829 (diff)
downloademacs-cb87eeff1bf88d9d1849c452e8b9953b06ada454.tar.gz
emacs-cb87eeff1bf88d9d1849c452e8b9953b06ada454.zip
Declare some completion predicates
* lisp/filenotify.el (file-notify-handle-event): * lisp/net/dbus.el (dbus-handle-event): Declare `completion-predicate'.
-rw-r--r--lisp/filenotify.el1
-rw-r--r--lisp/net/dbus.el1
2 files changed, 2 insertions, 0 deletions
diff --git a/lisp/filenotify.el b/lisp/filenotify.el
index 78571776a39..07871bb0b64 100644
--- a/lisp/filenotify.el
+++ b/lisp/filenotify.el
@@ -100,6 +100,7 @@ If it is registered in `file-notify-descriptors', a `stopped' event is sent."
100 "Handle a file system monitoring event, coming from backends. 100 "Handle a file system monitoring event, coming from backends.
101If OBJECT is a filewatch event, call its callback. 101If OBJECT is a filewatch event, call its callback.
102Otherwise, signal a `file-notify-error'." 102Otherwise, signal a `file-notify-error'."
103 (declare (completion ignore))
103 (interactive "e") 104 (interactive "e")
104 (when file-notify-debug 105 (when file-notify-debug
105 (message "file-notify-handle-event %S" object)) 106 (message "file-notify-handle-event %S" object))
diff --git a/lisp/net/dbus.el b/lisp/net/dbus.el
index a9de35c814f..1e7f836d820 100644
--- a/lisp/net/dbus.el
+++ b/lisp/net/dbus.el
@@ -1144,6 +1144,7 @@ compound type arguments (TYPE VALUE) will be kept as is."
1144EVENT is a D-Bus event, see `dbus-check-event'. HANDLER, being 1144EVENT is a D-Bus event, see `dbus-check-event'. HANDLER, being
1145part of the event, is called with arguments ARGS (without type information). 1145part of the event, is called with arguments ARGS (without type information).
1146If the HANDLER returns a `dbus-error', it is propagated as return message." 1146If the HANDLER returns a `dbus-error', it is propagated as return message."
1147 (declare (completion ignore))
1147 (interactive "e") 1148 (interactive "e")
1148 (condition-case err 1149 (condition-case err
1149 (let (monitor args result) 1150 (let (monitor args result)