Function: make-erc--target-channel-local--cmacro
make-erc--target-channel-local--cmacro is a function defined in
erc-common.el.gz.
Signature
(make-erc--target-channel-local--cmacro CL-WHOLE &cl-quote &key STRING SYMBOL)
Documentation
compiler-macro for inlining make-erc--target-channel-local.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-common.el.gz
;; Closure converted to defun by helpful.
(defun make-erc--target-channel-local--cmacro
(cl-whole &rest --cl-rest--)
"compiler-macro for inlining `make-erc--target-channel-local'.\n\n\\(fn CL-WHOLE &cl-quote &key STRING SYMBOL)"
(let*
((string
(car
(cdr
(or
(plist-member --cl-rest-- ':string)
'(nil "")))))
(symbol
(car
(cdr
(plist-member --cl-rest-- ':symbol)))))
(progn
(let
((--cl-keys-- --cl-rest--))
(while --cl-keys--
(cond
((memq
(car --cl-keys--)
'(:string :symbol :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 (:string :symbol)"
(car --cl-keys--))))))
(cl-block make-erc--target-channel-local--cmacro
(cl--defsubst-expand
'(string symbol)
'(cl-block make-erc--target-channel-local
(record 'erc--target-channel-local string symbol))
nil cl-whole nil string symbol)))))