Declare some completion predicates

* lisp/filenotify.el (file-notify-handle-event):
* lisp/net/dbus.el (dbus-handle-event): Declare `completion-predicate'.
This commit is contained in:
Michael Albinus 2021-03-05 17:51:22 +01:00
parent 986a919523
commit cb87eeff1b
2 changed files with 2 additions and 0 deletions

View file

@ -100,6 +100,7 @@ If it is registered in `file-notify-descriptors', a `stopped' event is sent."
"Handle a file system monitoring event, coming from backends.
If OBJECT is a filewatch event, call its callback.
Otherwise, signal a `file-notify-error'."
(declare (completion ignore))
(interactive "e")
(when file-notify-debug
(message "file-notify-handle-event %S" object))

View file

@ -1144,6 +1144,7 @@ compound type arguments (TYPE VALUE) will be kept as is."
EVENT is a D-Bus event, see `dbus-check-event'. HANDLER, being
part of the event, is called with arguments ARGS (without type information).
If the HANDLER returns a `dbus-error', it is propagated as return message."
(declare (completion ignore))
(interactive "e")
(condition-case err
(let (monitor args result)