Function: make-prop-match--cmacro

make-prop-match--cmacro is a function defined in text-property-search.el.gz.

Signature

(make-prop-match--cmacro CL-WHOLE &cl-quote &key BEGINNING END VALUE)

Documentation

compiler-macro for inlining make-prop-match.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/text-property-search.el.gz
;; Closure converted to defun by helpful.
(defun make-prop-match--cmacro
    (cl-whole &rest --cl-rest--)
  "compiler-macro for inlining `make-prop-match'.\n\n\\(fn CL-WHOLE &cl-quote &key BEGINNING END VALUE)"
  (let*
      ((beginning
	(car
	 (cdr
	  (plist-member --cl-rest-- ':beginning))))
       (end
	(car
	 (cdr
	  (plist-member --cl-rest-- ':end))))
       (value
	(car
	 (cdr
	  (plist-member --cl-rest-- ':value)))))
    (progn
      (let
	  ((--cl-keys-- --cl-rest--))
	(while --cl-keys--
	  (cond
	   ((memq
	     (car --cl-keys--)
	     '(:beginning :end :value :allow-other-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 (:beginning :end :value)"
		   (car --cl-keys--))))))
      (cl-block make-prop-match--cmacro
	(cl--defsubst-expand
	 '(beginning end value)
	 '(cl-block make-prop-match
	    (record 'prop-match beginning end value))
	 nil cl-whole nil beginning end value)))))