[Top][All Lists]

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

Re: Should mode commands be idempotent?

From: Stefan Monnier
Subject: Re: Should mode commands be idempotent?
Date: Tue, 19 Sep 2017 23:09:17 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

> Actually, I'm used to turning off minor modes by just calling their mode
> function a second time...

Of course, the well known and documented toggling behavior of minor
modes is not what he was referring to.

For a minor mode he was thinking of calling it twice with a positive arg
or twice with a negative arg.  


reply via email to

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