Function: make-js--js-handle--cmacro

make-js--js-handle--cmacro is a function defined in js.el.gz.

Signature

(make-js--js-handle--cmacro CL-WHOLE &cl-quote &key ID PROCESS)

Documentation

compiler-macro for inlining make-js--js-handle.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/js.el.gz
;; Closure converted to defun by helpful.
(defun make-js--js-handle--cmacro
    (cl-whole &rest --cl-rest--)
  "compiler-macro for inlining `make-js--js-handle'.\n\n\\(fn CL-WHOLE &cl-quote &key ID PROCESS)"
  (let*
      ((id
	(car
	 (cdr
	  (plist-member --cl-rest-- ':id))))
       (process
	(car
	 (cdr
	  (plist-member --cl-rest-- ':process)))))
    (progn
      (let
	  ((--cl-keys-- --cl-rest--))
	(while --cl-keys--
	  (cond
	   ((memq
	     (car --cl-keys--)
	     '(:id :process :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 (:id :process)"
		   (car --cl-keys--))))))
      (cl-block make-js--js-handle--cmacro
	(cl--defsubst-expand
	 '(id process)
	 '(cl-block make-js--js-handle
	    (record 'js--js-handle id process))
	 nil cl-whole nil id process)))))