Function: url-cookie-create--cmacro

url-cookie-create--cmacro is a function defined in url-cookie.el.gz.

Signature

(url-cookie-create--cmacro CL-WHOLE &cl-quote &key NAME VALUE EXPIRES LOCALPART DOMAIN SECURE)

Documentation

compiler-macro for url-cookie-create.

Source Code

;; Defined in /usr/src/emacs/lisp/url/url-cookie.el.gz
;; Could not find source code, showing raw function object.
#[(cl-whole &rest --cl-rest--)
  ((let*
       ((name (car (cdr (plist-member --cl-rest-- ':name))))
	(value (car (cdr (plist-member --cl-rest-- ':value))))
	(expires (car (cdr (plist-member --cl-rest-- ':expires))))
	(localpart (car (cdr (plist-member --cl-rest-- ':localpart))))
	(domain (car (cdr (plist-member --cl-rest-- ':domain))))
	(secure (car (cdr (plist-member --cl-rest-- ':secure)))))
     (progn
       (let ((--cl-keys-- --cl-rest--))
	 (while --cl-keys--
	   (cond
	    ((memq (car --cl-keys--)
		   '(:name :value :expires :localpart :domain :secure
			   :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 :value :expires :localpart :domain :secure)"
	      (car --cl-keys--))))))
       (cl-block url-cookie-create--cmacro
	 (cl--defsubst-expand
	  '(name value expires localpart domain secure)
	  '(cl-block url-cookie-create
	     (vector 'url-cookie name value expires localpart domain
		     secure))
	  nil cl-whole nil name value expires localpart domain secure)))))
  (cl-struct-url-cookie-tags) nil
  "compiler-macro for `url-cookie-create'.\n\n(fn CL-WHOLE &cl-quote &key NAME VALUE EXPIRES LOCALPART DOMAIN SECURE)"]