Function: erc-add-server-user--inliner

erc-add-server-user--inliner is a function defined in erc.el.gz.

Signature

(erc-add-server-user--inliner INLINE--FORM NICK USER)

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
;; Closure converted to defun by helpful.
(defun erc-add-server-user--inliner
    (inline--form nick user)
  (ignore inline--form)
  (catch 'inline--just-use
    (let*
	((exp nick)
	 (nick
	  (if
	      (macroexp-copyable-p exp)
	      exp
	    (make-symbol "nick")))
	 (body
	  (let*
	      ((exp user)
	       (user
		(if
		    (macroexp-copyable-p exp)
		    exp
		  (make-symbol "user")))
	       (body
		(list 'erc-with-server-buffer
		      (list 'puthash
			    (list 'erc-downcase nick)
			    user 'erc-server-users))))
	    (if
		(eq user exp)
		body
	      (macroexp-let*
	       (list
		(list user exp))
	       body)))))
      (if
	  (eq nick exp)
	  body
	(macroexp-let*
	 (list
	  (list nick exp))
	 body)))))