[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `define-globalized-minor-mode': why the need for a separate TURN-ON
From: |
Stefan Monnier |
Subject: |
Re: `define-globalized-minor-mode': why the need for a separate TURN-ON function? |
Date: |
Fri, 06 Apr 2012 23:56:01 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) |
> I've only looked briefly at this, and am no doubt not noticing
> something. Anyway, why for `define-globalized-minor-mode' must one
> define a separate TURN-ON function to turn the mode on, but using the
> (local) minor-mode function suffices to turn it off?
As the docstring says: "try to turn MODE on if applicable for that
buffer". That's different to MODE itself which should turn it in if at
all possible.
Stefan