Function: erc-format-target
erc-format-target is a byte-compiled function defined in erc.el.gz.
Signature
(erc-format-target)
Documentation
Return the name of the target (channel or nickname or servername:port).
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-format-target ()
"Return the name of the target (channel or nickname or servername:port)."
(let ((target (erc-default-target)))
(or target
(concat (erc-shorten-server-name
(or erc-server-announced-name
erc-session-server))
":" (erc-port-to-string erc-session-port)))))