bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#22380: [PATCH v1] erc: Don't raise an error for unknown user modes


From: Lars Ingebrigtsen
Subject: bug#22380: [PATCH v1] erc: Don't raise an error for unknown user modes
Date: Thu, 04 Feb 2016 16:52:18 +1100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux)

David Edmondson <address@hidden> writes:

> If a user has a mode which is unknown, emit a message rather than
> raising an error.
> ---
>  lisp/erc/erc.el | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el
> index 56317b8..b7f40a8 100644
> --- a/lisp/erc/erc.el
> +++ b/lisp/erc/erc.el
> @@ -4830,7 +4830,7 @@ channel."
>                       ((pred (eq op-ch))    op)
>                       ((pred (eq adm-ch))   admin)
>                       ((pred (eq own-ch))   owner)
> -                     (_ (error "Unknown prefix char `%S'" ch) voice))
> +                     (_ (message "Unknown prefix char `%S'" ch) voice))

Thanks; applied to emacs-25.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]