Function: make-erc-stamp--date--cmacro

make-erc-stamp--date--cmacro is a function defined in erc-stamp.el.gz.

Signature

(make-erc-stamp--date--cmacro CL-WHOLE &cl-quote &key TS STR FN MARKER)

Documentation

compiler-macro for make-erc-stamp--date.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-stamp.el.gz
;; Could not find source code, showing raw function object.
#[(cl-whole &rest --cl-rest--)
  ((let*
       ((ts
	 (car
	  (cdr
	   (or (plist-member --cl-rest-- ':ts)
	       '(nil (error "Missing `ts' field"))))))
	(str
	 (car
	  (cdr
	   (or (plist-member --cl-rest-- ':str)
	       '(nil (error "Missing `str' field"))))))
	(fn
	 (car
	  (cdr (or (plist-member --cl-rest-- ':fn) '(nil #'ignore)))))
	(marker
	 (car
	  (cdr
	   (or (plist-member --cl-rest-- ':marker)
	       '(nil (make-marker)))))))
     (progn
       (let ((--cl-keys-- --cl-rest--))
	 (while --cl-keys--
	   (cond
	    ((memq (car --cl-keys--)
		   '(:ts :str :fn :marker :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 :str :fn :marker)"
	      (car --cl-keys--))))))
       (cl-block make-erc-stamp--date--cmacro
	 (cl--defsubst-expand '(ts str fn marker)
			      '(cl-block make-erc-stamp--date
				 (record 'erc-stamp--date ts str fn
					 marker))
			      nil cl-whole nil ts str fn marker)))))
  (t) nil
  "compiler-macro for `make-erc-stamp--date'.\n\n(fn CL-WHOLE &cl-quote &key TS STR FN MARKER)"]