Function: make-xref-file-location--cmacro

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

Signature

(make-xref-file-location--cmacro CL-WHOLE &cl-quote &key FILE LINE COLUMN)

Documentation

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

Source Code

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