Function: make-ert--ewoc-entry--cmacro

make-ert--ewoc-entry--cmacro is a function defined in ert.el.gz.

Signature

(make-ert--ewoc-entry--cmacro CL-WHOLE &cl-quote &key TEST HIDDEN-P EXPANDED-P EXTENDED-PRINTER-LIMITS-P)

Documentation

compiler-macro for inlining make-ert--ewoc-entry.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/ert.el.gz
;; Closure converted to defun by helpful.
(defun make-ert--ewoc-entry--cmacro
    (cl-whole &rest --cl-rest--)
  "compiler-macro for inlining `make-ert--ewoc-entry'.\n\n\\(fn CL-WHOLE &cl-quote &key TEST HIDDEN-P EXPANDED-P EXTENDED-PRINTER-LIMITS-P)"
  (let*
      ((test
	(car
	 (cdr
	  (or
	   (plist-member --cl-rest-- ':test)
	   '(nil
	     (cl-assert nil))))))
       (hidden-p
	(car
	 (cdr
	  (or
	   (plist-member --cl-rest-- ':hidden-p)
	   '(nil
	     (cl-assert nil))))))
       (expanded-p
	(car
	 (cdr
	  (or
	   (plist-member --cl-rest-- ':expanded-p)
	   '(nil t)))))
       (extended-printer-limits-p
	(car
	 (cdr
	  (plist-member --cl-rest-- ':extended-printer-limits-p)))))
    (progn
      (let
	  ((--cl-keys-- --cl-rest--))
	(while --cl-keys--
	  (cond
	   ((memq
	     (car --cl-keys--)
	     '(:test :hidden-p :expanded-p :extended-printer-limits-p :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 (:test :hidden-p :expanded-p :extended-printer-limits-p)"
		   (car --cl-keys--))))))
      (cl-block make-ert--ewoc-entry--cmacro
	(cl--defsubst-expand
	 '(test hidden-p expanded-p extended-printer-limits-p)
	 '(cl-block make-ert--ewoc-entry
	    (record 'ert--ewoc-entry test hidden-p expanded-p extended-printer-limits-p))
	 nil cl-whole nil test hidden-p expanded-p extended-printer-limits-p)))))