Avoid unused argument warnings in lambda compiler macros
* lisp/emacs-lisp/byte-run.el (byte-run--set-compiler-macro): Don't warn when a compiler macro with lambda-form expander does not use all the arguments of the function. Nobody expected any warning since the arguments look like free variables inside the lambda form.
This commit is contained in:
parent
58128f9b05
commit
1e8074f5ea
1 changed files with 1 additions and 0 deletions
|
@ -134,6 +134,7 @@ The return value of this function is not used."
|
|||
:autoload-end
|
||||
(eval-and-compile
|
||||
(defun ,cfname (,@(car data) ,@args)
|
||||
(ignore ,@(remq '&rest (remq '&optional args)))
|
||||
,@(cdr data))))))))
|
||||
|
||||
(defalias 'byte-run--set-doc-string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue