projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
516736c
)
Check keyword args of make-pipe-process (bug#65030)
author
Mattias Engdegård
<mattiase@acm.org>
Tue, 8 Aug 2023 16:33:50 +0000
(18:33 +0200)
committer
Mattias Engdegård
<mattiase@acm.org>
Tue, 8 Aug 2023 16:35:19 +0000
(18:35 +0200)
* lisp/emacs-lisp/bytecomp.el (make-pipe-process): Add check.
lisp/emacs-lisp/bytecomp.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/bytecomp.el
b/lisp/emacs-lisp/bytecomp.el
index 0df7b0bfe2a4c573f2d9c262184355cb32a2501e..4ee9922302b4686c539a87577a743882b97faf42 100644
(file)
--- a/
lisp/emacs-lisp/bytecomp.el
+++ b/
lisp/emacs-lisp/bytecomp.el
@@
-5831,6
+5831,13
@@
and corresponding effects."
:filter :sentinel :stderr :file-handler)
'(:name :command))))
+(put 'make-pipe-process 'compiler-macro
+ #'(lambda (form &rest args)
+ (bytecomp--check-keyword-args
+ form args
+ '(:name :buffer :coding :noquery :stop :filter :sentinel)
+ '(:name))))
+
(put 'make-network-process 'compiler-macro
#'(lambda (form &rest args)
(bytecomp--check-keyword-args