[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Some further problems with enriched mode.
From: |
Luc Teirlinck |
Subject: |
Re: Some further problems with enriched mode. |
Date: |
Thu, 23 Sep 2004 12:24:00 -0500 (CDT) |
Stefan Monnier wrote:
> Minor mode hooks are run when turning the mode on _or_ off.
Indeed.
Some minor modes only run their run when turned ON, but I think it's a bug,
because in many cases it can be useful/important to run something when the
mode is turned OFF.
In particular, when turning the mode off, the user needs to be able to
undo changes he made (using the hook) while turning the mode on.
Sincerely,
Luc.