Function: sops-state-create--cmacro

sops-state-create--cmacro is a function defined in sops.el.

Signature

(sops-state-create--cmacro CL-WHOLE &cl-quote &key STATUS LAST-ERROR)

Documentation

compiler-macro for sops-state-create.

Source Code

;; Defined in /nix/store/vihl6lkzddv9xrsrsznvqdjq27g2i30p-emacs-packages-deps/share/emacs/site-lisp/elpa/sops-20260920.2121/sops.el
;; Could not find source code, showing raw function object.
#[(cl-whole &rest --cl-rest--)
  ((let*
       ((status (car (cdr (plist-member --cl-rest-- ':status))))
	(last-error
	 (car (cdr (plist-member --cl-rest-- ':last-error)))))
     (progn
       (let ((--cl-keys-- --cl-rest--))
	 (while --cl-keys--
	   (cond
	    ((memq (car --cl-keys--)
		   '(:status :last-error :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 (:status :last-error)"
	      (car --cl-keys--))))))
       (cl-block sops-state-create--cmacro
	 (cl--defsubst-expand '(status last-error)
			      '(cl-block sops-state-create
				 (record 'sops-state status last-error))
			      nil cl-whole nil status last-error)))))
  (cl-struct-sops-state-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 `sops-state-create'.\n\n(fn CL-WHOLE &cl-quote &key STATUS LAST-ERROR)"]