diff options
| author | Michael Albinus | 2021-03-05 17:51:22 +0100 |
|---|---|---|
| committer | Michael Albinus | 2021-03-05 17:51:22 +0100 |
| commit | cb87eeff1bf88d9d1849c452e8b9953b06ada454 (patch) | |
| tree | 5ceec04d22d3a4760d6f6c9419c6f44b4d1120e8 | |
| parent | 986a919523cb963539cceadfda511eaf8a64d829 (diff) | |
| download | emacs-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.el | 1 | ||||
| -rw-r--r-- | lisp/net/dbus.el | 1 |
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. |
| 101 | If OBJECT is a filewatch event, call its callback. | 101 | If OBJECT is a filewatch event, call its callback. |
| 102 | Otherwise, signal a `file-notify-error'." | 102 | Otherwise, 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." | |||
| 1144 | EVENT is a D-Bus event, see `dbus-check-event'. HANDLER, being | 1144 | EVENT is a D-Bus event, see `dbus-check-event'. HANDLER, being |
| 1145 | part of the event, is called with arguments ARGS (without type information). | 1145 | part of the event, is called with arguments ARGS (without type information). |
| 1146 | If the HANDLER returns a `dbus-error', it is propagated as return message." | 1146 | If 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) |