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 make-ert--ewoc-entry.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/ert.el.gz
;; Could not find source code, showing raw function object.
#[(cl-whole &rest --cl-rest--)
  ((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)))))
  (cl-struct-ert--ewoc-entry-tags) nil
  "compiler-macro for `make-ert--ewoc-entry'.\n\n(fn CL-WHOLE &cl-quote &key TEST HIDDEN-P EXPANDED-P EXTENDED-PRINTER-LIMITS-P)"]