Function: erc-get-user-mode-prefix

erc-get-user-mode-prefix is a function alias for erc-get-channel-membership-prefix, defined in erc.el.gz.

This function is obsolete since 30.1; use erc-get-channel-membership-prefix instead.

Signature

(erc-get-user-mode-prefix NICK-OR-CUSR)

Documentation

Return channel membership prefix for NICK-OR-CUSR as a string.

Ensure returned string has a help-echo text property with the corresponding verbose membership type, like "voice", as its value. Expect NICK-OR-CUSR to be an erc-channel-user object or a string nickname, not necessarily downcased. When called in a logically connected ERC buffer, use advertised prefix mappings. For compatibility reasons, don't error when NICK-OR-CUSR is null, but return nil instead of the empty string. Otherwise, always return a possibly empty string.

Aliases

erc-get-user-mode-prefix (obsolete since 30.1)