Function: make-comp-vec--cmacro

make-comp-vec--cmacro is a function defined in comp.el.gz.

Signature

(make-comp-vec--cmacro CL-WHOLE &cl-quote &key DATA BEG END)

Documentation

compiler-macro for make-comp-vec.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/comp.el.gz
;; Could not find source code, showing raw function object.
#[(cl-whole &rest --cl-rest--)
  ((let*
       ((data
	 (car
	  (cdr
	   (or (plist-member --cl-rest-- ':data)
	       '(nil (make-hash-table :test #'eql))))))
	(beg
	 (car (cdr (or (plist-member --cl-rest-- ':beg) '(nil 0)))))
	(end
	 (car (cdr (or (plist-member --cl-rest-- ':end) '(nil 0))))))
     (progn
       (let ((--cl-keys-- --cl-rest--))
	 (while --cl-keys--
	   (cond
	    ((memq (car --cl-keys--)
		   '(:data :beg :end :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 (:data :beg :end)"
		    (car --cl-keys--))))))
       (cl-block make-comp-vec--cmacro
	 (cl--defsubst-expand '(data beg end)
			      '(cl-block make-comp-vec
				 (record 'comp-vec data beg end))
			      nil cl-whole nil data beg end)))))
  (cl-struct-comp-vec-tags) nil
  "compiler-macro for `make-comp-vec'.\n\n(fn CL-WHOLE &cl-quote &key DATA BEG END)"]