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 make-comp-nargs.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/comp.el.gz
;; Could not find source code, showing raw function object.
#[(cl-whole &rest --cl-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))
	     (unless (cdr --cl-keys--)
	       (error "Missing argument for %s" (car --cl-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)))))
  (cl-struct-comp-nargs-tags) nil
  "compiler-macro for `make-comp-nargs'.\n\n(fn CL-WHOLE &cl-quote &key MIN NONREST REST)"]