Function: make-comp-cstr-f--cmacro

make-comp-cstr-f--cmacro is a function defined in comp-cstr.el.gz.

Signature

(make-comp-cstr-f--cmacro CL-WHOLE &cl-quote &key ARGS RET)

Documentation

compiler-macro for inlining make-comp-cstr-f.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/comp-cstr.el.gz
;; Closure converted to defun by helpful.
(defun make-comp-cstr-f--cmacro
    (cl-whole &rest --cl-rest--)
  "compiler-macro for inlining `make-comp-cstr-f'.\n\n\\(fn CL-WHOLE &cl-quote &key ARGS RET)"
  (let*
      ((args
	(car
	 (cdr
	  (plist-member --cl-rest-- ':args))))
       (ret
	(car
	 (cdr
	  (plist-member --cl-rest-- ':ret)))))
    (progn
      (let
	  ((--cl-keys-- --cl-rest--))
	(while --cl-keys--
	  (cond
	   ((memq
	     (car --cl-keys--)
	     '(:args :ret :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 (:args :ret)"
		   (car --cl-keys--))))))
      (cl-block make-comp-cstr-f--cmacro
	(cl--defsubst-expand
	 '(args ret)
	 '(cl-block make-comp-cstr-f
	    (record 'comp-cstr-f args ret))
	 nil cl-whole nil args ret)))))