Function: majutsu-template--make-type--cmacro

majutsu-template--make-type--cmacro is a function defined in majutsu-template.el.

Signature

(majutsu-template--make-type--cmacro CL-WHOLE &cl-quote &key NAME DOC CONVERTS-TO)

Documentation

compiler-macro for majutsu-template--make-type.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-template.el
;; Could not find source code, showing raw function object.
#[(cl-whole &rest --cl-rest--)
  ((let*
       ((name (car (cdr (plist-member --cl-rest-- ':name))))
	(doc (car (cdr (plist-member --cl-rest-- ':doc))))
	(converts-to
	 (car (cdr (plist-member --cl-rest-- ':converts-to)))))
     (progn
       (let ((--cl-keys-- --cl-rest--))
	 (while --cl-keys--
	   (cond
	    ((memq (car --cl-keys--)
		   '(:name :doc :converts-to :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 (:name :doc :converts-to)"
	      (car --cl-keys--))))))
       (cl-block majutsu-template--make-type--cmacro
	 (cl--defsubst-expand '(name doc converts-to)
			      '(cl-block majutsu-template--make-type
				 (record 'majutsu-template--type name
					 doc converts-to))
			      nil cl-whole nil name doc converts-to)))))
  (jotain-doc--quick jotain-doc--pkg-dirs jotain-doc--skipped
		     jotain-doc--fun-syms jotain-doc--var-syms
		     jotain-doc--face-syms jotain-doc--sym-pkg
		     jotain-doc--kind-helpful
		     cl-struct-majutsu-template--type-tags
		     jotain-doc--kind-helpful jotain-doc--sym-pkg
		     jotain-doc--face-syms jotain-doc--var-syms
		     jotain-doc--fun-syms jotain-doc--skipped
		     jotain-doc--pkg-dirs jotain-doc--quick)
  nil
  "compiler-macro for `majutsu-template--make-type'.\n\n(fn CL-WHOLE &cl-quote &key NAME DOC CONVERTS-TO)"]