emacs-devel
[Top][All Lists]
Advanced

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

Re: Why does signaling an error not call set-message-function?


From: Stefan Monnier
Subject: Re: Why does signaling an error not call set-message-function?
Date: Tue, 05 Apr 2022 09:34:03 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

> But not when we signal an error, surely?

Why not?

I don't see a problem running arbitrary ELisp code at that time.

After all, we already exited the error-signaling context, and we'll run
arbitrary ELisp code right after, e.g. for `post-command-hook`, for the
next command, etc...


        Stefan




reply via email to

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