Function: make-xref-bogus-location--cmacro

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

Signature

(make-xref-bogus-location--cmacro CL-WHOLE &cl-quote &key MESSAGE)

Documentation

compiler-macro for inlining make-xref-bogus-location.

Source Code

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