Function: majutsu-template--make-self-binding--cmacro

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

Signature

(majutsu-template--make-self-binding--cmacro CL-WHOLE &cl-quote &key NODE TYPE)

Documentation

compiler-macro for majutsu-template--make-self-binding.

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*
       ((node (car (cdr (plist-member --cl-rest-- ':node))))
	(type (car (cdr (plist-member --cl-rest-- ':type)))))
     (progn
       (let ((--cl-keys-- --cl-rest--))
	 (while --cl-keys--
	   (cond
	    ((memq (car --cl-keys--) '(:node :type :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 (:node :type)"
		    (car --cl-keys--))))))
       (cl-block majutsu-template--make-self-binding--cmacro
	 (cl--defsubst-expand '(node type)
			      '(cl-block
				   majutsu-template--make-self-binding
				 (record
				  'majutsu-template--self-binding node
				  type))
			      nil cl-whole nil node type)))))
  (cl-struct-majutsu-template--self-binding-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-self-binding'.\n\n(fn CL-WHOLE &cl-quote &key NODE TYPE)"]