emacs-devel
[Top][All Lists]
Advanced

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

Re: turning on minor modes from hooks


From: Richard Stallman
Subject: Re: turning on minor modes from hooks
Date: Sun, 30 Aug 2009 23:33:19 -0400

    Stephen has long advocated that non-interactive invocation of mode
    commands should always turn on the mode instead of toggling.

A call with no arguments, as in (auto-save-mode), naturally ought to
toggle the mode or turn it on.  But (auto-save-mode nil) has the
natural meaning of turning the mode off.

Perhaps we could make minor mode functions take &rest arguments so
they can distinguish those two cases.  However, that could be a
painful change,





reply via email to

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