Function: make-shadow-cluster--cmacro

make-shadow-cluster--cmacro is a function defined in shadowfile.el.gz.

Signature

(make-shadow-cluster--cmacro CL-WHOLE &cl-quote &key NAME PRIMARY REGEXP)

Documentation

compiler-macro for inlining make-shadow-cluster.

Source Code

;; Defined in /usr/src/emacs/lisp/shadowfile.el.gz
;; Closure converted to defun by helpful.
(defun make-shadow-cluster--cmacro
    (cl-whole &rest --cl-rest--)
  "compiler-macro for inlining `make-shadow-cluster'.\n\n\\(fn CL-WHOLE &cl-quote &key NAME PRIMARY REGEXP)"
  (let*
      ((name
	(car
	 (cdr
	  (plist-member --cl-rest-- ':name))))
       (primary
	(car
	 (cdr
	  (plist-member --cl-rest-- ':primary))))
       (regexp
	(car
	 (cdr
	  (plist-member --cl-rest-- ':regexp)))))
    (progn
      (let
	  ((--cl-keys-- --cl-rest--))
	(while --cl-keys--
	  (cond
	   ((memq
	     (car --cl-keys--)
	     '(:name :primary :regexp :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 (:name :primary :regexp)"
		   (car --cl-keys--))))))
      (cl-block make-shadow-cluster--cmacro
	(cl--defsubst-expand
	 '(name primary regexp)
	 '(cl-block make-shadow-cluster
	    (list 'shadow-cluster name primary regexp))
	 nil cl-whole nil name primary regexp)))))