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 make-prop-match.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/text-property-search.el.gz
;; Could not find source code, showing raw function object.
#[(cl-whole &rest --cl-rest--)
  ((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))
	     (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 (: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)))))
  (t) nil
  "compiler-macro for `make-prop-match'.\n\n(fn CL-WHOLE &cl-quote &key BEGINNING END VALUE)"]