Function: erc-format-@nick

erc-format-@nick is a byte-compiled function defined in erc.el.gz.

Signature

(erc-format-@nick &optional USER CHANNEL-DATA)

Documentation

Format the nickname of USER showing if USER has a voice, is an operator, half-op, admin or owner. Owners have "~", admins have
"&", operators have "@" and users with voice have "+" as a
prefix. Use CHANNEL-DATA to determine op and voice status. See also erc-format-nick-function.

Probably introduced at or before Emacs version 24.5.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-format-@nick (&optional user _channel-data)
  "Format the nickname of USER showing if USER has a voice, is an
operator, half-op, admin or owner.  Owners have \"~\", admins have
\"&\", operators have \"@\" and users with voice have \"+\" as a
prefix.  Use CHANNEL-DATA to determine op and voice status.  See
also `erc-format-nick-function'."
  (when user
    (let ((nick (erc-server-user-nickname user)))
      (concat (propertize
               (erc-get-user-mode-prefix nick)
               'font-lock-face 'erc-nick-prefix-face)
	      nick))))