Function: make-xref-elisp-location--cmacro

make-xref-elisp-location--cmacro is a function defined in elisp-mode.el.gz.

Signature

(make-xref-elisp-location--cmacro CL-WHOLE &cl-quote &key SYMBOL TYPE FILE)

Documentation

compiler-macro for make-xref-elisp-location.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/elisp-mode.el.gz
;; Could not find source code, showing raw function object.
#[(cl-whole &rest --cl-rest--)
  ((let*
       ((symbol (car (cdr (plist-member --cl-rest-- ':symbol))))
	(type (car (cdr (plist-member --cl-rest-- ':type))))
	(file (car (cdr (plist-member --cl-rest-- ':file)))))
     (progn
       (let ((--cl-keys-- --cl-rest--))
	 (while --cl-keys--
	   (cond
	    ((memq (car --cl-keys--)
		   '(:symbol :type :file :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 (:symbol :type :file)"
	      (car --cl-keys--))))))
       (cl-block make-xref-elisp-location--cmacro
	 (cl--defsubst-expand '(symbol type file)
			      '(cl-block make-xref-elisp-location
				 (record 'xref-elisp-location symbol
					 type file))
			      nil cl-whole nil symbol type file)))))
  (cl-struct-xref-elisp-location-tags) nil
  "compiler-macro for `make-xref-elisp-location'.\n\n(fn CL-WHOLE &cl-quote &key SYMBOL TYPE FILE)"]