Function: make-elisp-doc-entry--cmacro
make-elisp-doc-entry--cmacro is a function defined in
elisp-doc-extract.el.
Signature
(make-elisp-doc-entry--cmacro CL-WHOLE &cl-quote &key SYMBOL TYPE BUFFER SECTIONS)
Documentation
compiler-macro for inlining make-elisp-doc-entry.
Source Code
;; Defined in /workspace/cache/site-lisp/elisp-doc-extract.el
;; Closure converted to defun by helpful.
(defun make-elisp-doc-entry--cmacro
(cl-whole &rest --cl-rest--)
"compiler-macro for inlining `make-elisp-doc-entry'.\n\n\\(fn CL-WHOLE &cl-quote &key SYMBOL TYPE BUFFER SECTIONS)"
(let*
((symbol
(car
(cdr
(plist-member --cl-rest-- ':symbol))))
(type
(car
(cdr
(plist-member --cl-rest-- ':type))))
(buffer
(car
(cdr
(plist-member --cl-rest-- ':buffer))))
(sections
(car
(cdr
(plist-member --cl-rest-- ':sections)))))
(progn
(let
((--cl-keys-- --cl-rest--))
(while --cl-keys--
(cond
((memq
(car --cl-keys--)
'(:symbol :type :buffer :sections :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 (:symbol :type :buffer :sections)"
(car --cl-keys--))))))
(cl-block make-elisp-doc-entry--cmacro
(cl--defsubst-expand
'(symbol type buffer sections)
'(cl-block make-elisp-doc-entry
(record 'elisp-doc-entry symbol type buffer sections))
nil cl-whole nil symbol type buffer sections)))))