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

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

bug#40750: Use error face for errors


From: Lars Ingebrigtsen
Subject: bug#40750: Use error face for errors
Date: Thu, 21 Jan 2021 18:38:52 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

"Basil L. Contovounesios" <contovob@tcd.ie> writes:

> I agree, but in theory there could be a customisable face for this that
> defaults to the current default.

That's true.

> But is it even possible to systematically tell whether a given message
> corresponds to an error?

I imagined `error' (and `signal'?) putting a face on the return value
from `format-message':

  (signal 'error (list (apply #'format-message args))))

-- 
(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]