|
From: | Stefan Monnier |
Subject: | Re: command-error-function default handler |
Date: | Sat, 26 Oct 2013 23:44:32 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> I was adviced to use command-error-function. However despite my selective > error handling I want a default error handling to be performed too. I look > into keyboard.c and see that the main activity of default handler is calling > print_error_message. > But how do I do that from elisp? The way to do that right is as follows: - change command-error-function's default value to not be nil. - don't set command-error-function via `setq' but via `add-function'. The first step may require changes to the C code. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |