[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#30205: 27.0.50; Minor mode commands enable the minor mode even if th
From: |
Lars Ingebrigtsen |
Subject: |
bug#30205: 27.0.50; Minor mode commands enable the minor mode even if the body fails |
Date: |
Fri, 19 Jul 2019 15:25:16 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
"Basil L. Contovounesios" <contovob@tcd.ie> writes:
> Unless we can provide a way to roll back the entire mode function
> "transaction", I would regard errors in mode functions as UB and the
> real bug here. In other words, I don't see any benefit to using the
> mode variable as an indicator of success, when mode functions shouldn't
> fail to begin with.
I agree, and am closing this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no