Function: majutsu-template--make-arg

majutsu-template--make-arg is a function defined in majutsu-template.el.

Signature

(majutsu-template--make-arg &key NAME TYPE OPTIONAL REST DOC SPECIALIZE)

Documentation

Constructor for objects of type majutsu-template--arg.

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.
#[(&rest --cl-rest--)
  ((let*
       ((name (car (cdr (plist-member --cl-rest-- ':name))))
	(type (car (cdr (plist-member --cl-rest-- ':type))))
	(optional (car (cdr (plist-member --cl-rest-- ':optional))))
	(rest (car (cdr (plist-member --cl-rest-- ':rest))))
	(doc (car (cdr (plist-member --cl-rest-- ':doc))))
	(specialize
	 (car (cdr (plist-member --cl-rest-- ':specialize)))))
     (progn
       (let ((--cl-keys-- --cl-rest--))
	 (while --cl-keys--
	   (cond
	    ((memq (car --cl-keys--)
		   '(:name :type :optional :rest :doc :specialize
			   :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 :type :optional :rest :doc :specialize)"
	      (car --cl-keys--))))))
       (cl-block majutsu-template--make-arg
	 (record 'majutsu-template--arg name type optional rest doc
		 specialize)))))
  (cl-struct-majutsu-template--arg-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
  "Constructor for objects of type `majutsu-template--arg'.\n\n(fn &key NAME TYPE OPTIONAL REST DOC SPECIALIZE)"]