[Top][All Lists]

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

Re: command-error-function default handler

From: Stefan Monnier
Subject: Re: command-error-function default handler
Date: Sun, 27 Oct 2013 20:23:31 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> In the meantime I probably found the answer to my question. Looking at usage
> of print_error_message in other files I came up with something that
> resembles the default handler behaviour:

> (defun test-handler (&optional conditions context source)
>   (message "%s%s: %s" context source (error-message-string conditions))
>   ; we would also like to ring a bell here
> )

Could you provide a patch to Emacs that changes the default value of
command-error-function to a function that does the same as the current
default behavior?


reply via email to

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