Function: make-erc-networks--id--cmacro

make-erc-networks--id--cmacro is a function defined in erc-networks.el.gz.

Signature

(make-erc-networks--id--cmacro CL-WHOLE &cl-quote &key TS SYMBOL)

Documentation

compiler-macro for inlining make-erc-networks--id.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-networks.el.gz
;; Closure converted to defun by helpful.
(defun make-erc-networks--id--cmacro
    (cl-whole &rest --cl-rest--)
  "compiler-macro for inlining `make-erc-networks--id'.\n\n\\(fn CL-WHOLE &cl-quote &key TS SYMBOL)"
  (let*
      ((ts
	(car
	 (cdr
	  (plist-member --cl-rest-- ':ts))))
       (symbol
	(car
	 (cdr
	  (plist-member --cl-rest-- ':symbol)))))
    (progn
      (let
	  ((--cl-keys-- --cl-rest--))
	(while --cl-keys--
	  (cond
	   ((memq
	     (car --cl-keys--)
	     '(:ts :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 (:ts :symbol)"
		   (car --cl-keys--))))))
      (cl-block make-erc-networks--id--cmacro
	(cl--defsubst-expand
	 '(ts symbol)
	 '(cl-block make-erc-networks--id
	    (record 'erc-networks--id ts symbol))
	 nil cl-whole nil ts symbol)))))