Function: make-comp-nargs--cmacro
make-comp-nargs--cmacro is a function defined in comp.el.gz.
Signature
(make-comp-nargs--cmacro CL-WHOLE &cl-quote &key MIN NONREST REST)
Documentation
compiler-macro for inlining make-comp-nargs.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/comp.el.gz
;; Closure converted to defun by helpful.
(defun make-comp-nargs--cmacro
(cl-whole &rest --cl-rest--)
"compiler-macro for inlining `make-comp-nargs'.\n\n\\(fn CL-WHOLE &cl-quote &key MIN NONREST REST)"
(let*
((min
(car
(cdr
(plist-member --cl-rest-- ':min))))
(nonrest
(car
(cdr
(plist-member --cl-rest-- ':nonrest))))
(rest
(car
(cdr
(plist-member --cl-rest-- ':rest)))))
(progn
(let
((--cl-keys-- --cl-rest--))
(while --cl-keys--
(cond
((memq
(car --cl-keys--)
'(:min :nonrest :rest :allow-other-keys))
(setq --cl-keys--
(cdr
(cdr --cl-keys--))))
((car
(cdr
(memq ':allow-other-keys --cl-rest--)))
(setq --cl-keys-- nil))
(t
(error "Keyword argument %s not one of (:min :nonrest :rest)"
(car --cl-keys--))))))
(cl-block make-comp-nargs--cmacro
(cl--defsubst-expand
'(min nonrest rest)
'(cl-block make-comp-nargs
(record 'comp-nargs min nonrest rest))
nil cl-whole nil min nonrest rest)))))