Function: make-url-future--cmacro
make-url-future--cmacro is a function defined in url-future.el.gz.
Signature
(make-url-future--cmacro CL-WHOLE &cl-quote &key CALLBACK ERRORBACK STATUS VALUE)
Documentation
compiler-macro for inlining make-url-future.
Source Code
;; Defined in /usr/src/emacs/lisp/url/url-future.el.gz
;; Closure converted to defun by helpful.
(defun make-url-future--cmacro
(cl-whole &rest --cl-rest--)
"compiler-macro for inlining `make-url-future'.\n\n\\(fn CL-WHOLE &cl-quote &key CALLBACK ERRORBACK STATUS VALUE)"
(let*
((callback
(car
(cdr
(plist-member --cl-rest-- ':callback))))
(errorback
(car
(cdr
(plist-member --cl-rest-- ':errorback))))
(status
(car
(cdr
(plist-member --cl-rest-- ':status))))
(value
(car
(cdr
(plist-member --cl-rest-- ':value)))))
(progn
(let
((--cl-keys-- --cl-rest--))
(while --cl-keys--
(cond
((memq
(car --cl-keys--)
'(:callback :errorback :status :value :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 (:callback :errorback :status :value)"
(car --cl-keys--))))))
(cl-block make-url-future--cmacro
(cl--defsubst-expand
'(callback errorback status value)
'(cl-block make-url-future
(record 'url-future callback errorback status value))
nil cl-whole nil callback errorback status value)))))