Function: make-register-preview-info--cmacro
make-register-preview-info--cmacro is a function defined in
register.el.gz.
Signature
(make-register-preview-info--cmacro CL-WHOLE &cl-quote &key TYPES MSG ACT SMATCH NOCONFIRM)
Documentation
compiler-macro for make-register-preview-info.
Source Code
;; Defined in /usr/src/emacs/lisp/register.el.gz
;; Could not find source code, showing raw function object.
#[(cl-whole &rest --cl-rest--)
((let*
((types (car (cdr (plist-member --cl-rest-- ':types))))
(msg (car (cdr (plist-member --cl-rest-- ':msg))))
(act (car (cdr (plist-member --cl-rest-- ':act))))
(smatch (car (cdr (plist-member --cl-rest-- ':smatch))))
(noconfirm (car (cdr (plist-member --cl-rest-- ':noconfirm)))))
(progn
(let ((--cl-keys-- --cl-rest--))
(while --cl-keys--
(cond
((memq (car --cl-keys--)
'(:types :msg :act :smatch :noconfirm
: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 (:types :msg :act :smatch :noconfirm)"
(car --cl-keys--))))))
(cl-block make-register-preview-info--cmacro
(cl--defsubst-expand '(types msg act smatch noconfirm)
'(cl-block make-register-preview-info
(record 'register-preview-info types
msg act smatch noconfirm))
nil cl-whole nil types msg act smatch
noconfirm)))))
(t) nil
"compiler-macro for `make-register-preview-info'.\n\n(fn CL-WHOLE &cl-quote &key TYPES MSG ACT SMATCH NOCONFIRM)"]