branch: elpa/with-editor
commit 7c512887c6d69864fb600d32fb92857c51babcff
Author: Jonas Bernoulli <[email protected]>
Commit: Jonas Bernoulli <[email protected]>
make-process--with-editor-process-filter: &allow-other-keys
Callers may pass invalid keyword arguments to `make-process', which
is their problem and should not result in me having to explain that
to anyone.
Closes #79 and https://github.com/hlissner/doom-emacs/issues/3384.
---
with-editor.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/with-editor.el b/with-editor.el
index aec1e71..1c74eef 100644
--- a/with-editor.el
+++ b/with-editor.el
@@ -582,7 +582,8 @@ the appropriate editor environment variable."
(cl-defun make-process--with-editor-process-filter
(fn &rest keys &key name buffer command coding noquery stop
- connection-type filter sentinel stderr file-handler)
+ connection-type filter sentinel stderr file-handler
+ &allow-other-keys)
"When called inside a `with-editor' form and the Emacsclient
cannot be used, then give the process the filter function
`with-editor-process-filter'. To avoid overriding the filter