1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-28 10:56:36 +00:00

Regression fix - #bug18551

This commit is contained in:
Kelvin White 2014-09-26 09:22:47 -04:00
parent 53c0a1e9d7
commit c575c0509a

View File

@ -4225,12 +4225,7 @@ and as second argument the event parsed as a vector."
(defun erc-format-nick (&optional user _channel-data)
"Return the nickname of USER.
See also `erc-format-nick-function'."
(when user
(let ((nick (erc-server-user-nickname user)))
(concat (erc-propertize
(erc-get-user-mode-prefix nick)
'face 'erc-nick-prefix-face)
nick))))
(when user (erc-server-user-nickname user)))
(defun erc-get-user-mode-prefix (user)
(when user