Function: mh-thread-make-container--cmacro

mh-thread-make-container--cmacro is a function defined in mh-thread.el.gz.

Signature

(mh-thread-make-container--cmacro CL-WHOLE &cl-quote &key MESSAGE PARENT CHILDREN REAL-CHILD-P)

Documentation

compiler-macro for mh-thread-make-container.

Source Code

;; Defined in /usr/src/emacs/lisp/mh-e/mh-thread.el.gz
;; Could not find source code, showing raw function object.
#[(cl-whole &rest --cl-rest--)
  ((let*
       ((message (car (cdr (plist-member --cl-rest-- ':message))))
	(parent (car (cdr (plist-member --cl-rest-- ':parent))))
	(children (car (cdr (plist-member --cl-rest-- ':children))))
	(real-child-p
	 (car
	  (cdr (or (plist-member --cl-rest-- ':real-child-p) '(nil t))))))
     (progn
       (let ((--cl-keys-- --cl-rest--))
	 (while --cl-keys--
	   (cond
	    ((memq (car --cl-keys--)
		   '(:message :parent :children :real-child-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 (:message :parent :children :real-child-p)"
	      (car --cl-keys--))))))
       (cl-block mh-thread-make-container--cmacro
	 (cl--defsubst-expand '(message parent children real-child-p)
			      '(cl-block mh-thread-make-container
				 (record 'mh-thread-container message
					 parent children real-child-p))
			      nil cl-whole nil message parent children
			      real-child-p)))))
  (cl-struct-mh-thread-container-tags) nil
  "compiler-macro for `mh-thread-make-container'.\n\n(fn CL-WHOLE &cl-quote &key MESSAGE PARENT CHILDREN REAL-CHILD-P)"]