Function: make-tramp-goa-account--cmacro

make-tramp-goa-account--cmacro is a function defined in tramp-gvfs.el.gz.

Signature

(make-tramp-goa-account--cmacro CL-WHOLE &cl-quote &key METHOD USER HOST PORT)

Documentation

compiler-macro for inlining make-tramp-goa-account.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-gvfs.el.gz
;; Closure converted to defun by helpful.
(defun make-tramp-goa-account--cmacro
    (cl-whole &rest --cl-rest--)
  "compiler-macro for inlining `make-tramp-goa-account'.\n\n\\(fn CL-WHOLE &cl-quote &key METHOD USER HOST PORT)"
  (let*
      ((method
	(car
	 (cdr
	  (plist-member --cl-rest-- ':method))))
       (user
	(car
	 (cdr
	  (plist-member --cl-rest-- ':user))))
       (host
	(car
	 (cdr
	  (plist-member --cl-rest-- ':host))))
       (port
	(car
	 (cdr
	  (plist-member --cl-rest-- ':port)))))
    (progn
      (let
	  ((--cl-keys-- --cl-rest--))
	(while --cl-keys--
	  (cond
	   ((memq
	     (car --cl-keys--)
	     '(:method :user :host :port :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 (:method :user :host :port)"
		   (car --cl-keys--))))))
      (cl-block make-tramp-goa-account--cmacro
	(cl--defsubst-expand
	 '(method user host port)
	 '(cl-block make-tramp-goa-account
	    (list 'tramp-goa-account method user host port))
	 nil cl-whole nil method user host port)))))