Function: make-epa-ks-name--cmacro

make-epa-ks-name--cmacro is a function defined in epa-ks.el.gz.

Signature

(make-epa-ks-name--cmacro CL-WHOLE &cl-quote &key UID CREATED EXPIRES FLAGS)

Documentation

compiler-macro for make-epa-ks-name.

Source Code

;; Defined in /usr/src/emacs/lisp/epa-ks.el.gz
;; Could not find source code, showing raw function object.
#[(cl-whole &rest --cl-rest--)
  ((let*
       ((uid (car (cdr (plist-member --cl-rest-- ':uid))))
	(created (car (cdr (plist-member --cl-rest-- ':created))))
	(expires (car (cdr (plist-member --cl-rest-- ':expires))))
	(flags (car (cdr (plist-member --cl-rest-- ':flags)))))
     (progn
       (let ((--cl-keys-- --cl-rest--))
	 (while --cl-keys--
	   (cond
	    ((memq (car --cl-keys--)
		   '(:uid :created :expires :flags :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 (:uid :created :expires :flags)"
	      (car --cl-keys--))))))
       (cl-block make-epa-ks-name--cmacro
	 (cl--defsubst-expand '(uid created expires flags)
			      '(cl-block make-epa-ks-name
				 (record 'epa-ks-name uid created
					 expires flags))
			      nil cl-whole nil uid created expires
			      flags)))))
  (t) nil
  "compiler-macro for `make-epa-ks-name'.\n\n(fn CL-WHOLE &cl-quote &key UID CREATED EXPIRES FLAGS)"]