Function: make-comp-cstr--cmacro

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

Signature

(make-comp-cstr--cmacro CL-WHOLE &cl-quote &key TYPESET VALSET RANGE NEG)

Documentation

compiler-macro for inlining make-comp-cstr.

Source Code

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