Function: make-erc-input--cmacro

make-erc-input--cmacro is a function defined in erc-common.el.gz.

Signature

(make-erc-input--cmacro CL-WHOLE &cl-quote &key STRING INSERTP SENDP SUBSTXT REFOLDP)

Documentation

compiler-macro for make-erc-input.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-common.el.gz
;; Could not find source code, showing raw function object.
#[(cl-whole &rest --cl-rest--)
  ((let*
       ((string
	 (car (cdr (or (plist-member --cl-rest-- ':string) '(nil "")))))
	(insertp (car (cdr (plist-member --cl-rest-- ':insertp))))
	(sendp (car (cdr (plist-member --cl-rest-- ':sendp))))
	(substxt (car (cdr (plist-member --cl-rest-- ':substxt))))
	(refoldp (car (cdr (plist-member --cl-rest-- ':refoldp)))))
     (progn
       (let ((--cl-keys-- --cl-rest--))
	 (while --cl-keys--
	   (cond
	    ((memq (car --cl-keys--)
		   '(:string :insertp :sendp :substxt :refoldp
			     :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 :insertp :sendp :substxt :refoldp)"
	      (car --cl-keys--))))))
       (cl-block make-erc-input--cmacro
	 (cl--defsubst-expand '(string insertp sendp substxt refoldp)
			      '(cl-block make-erc-input
				 (record 'erc-input string insertp
					 sendp substxt refoldp))
			      nil cl-whole nil string insertp sendp
			      substxt refoldp)))))
  (cl-struct-erc-input-tags) nil
  "compiler-macro for `make-erc-input'.\n\n(fn CL-WHOLE &cl-quote &key STRING INSERTP SENDP SUBSTXT REFOLDP)"]