bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#4102: 23.1.50; recentf-mode nil but toggles


From: Stefan Monnier
Subject: bug#4102: 23.1.50; recentf-mode nil but toggles
Date: Thu, 13 Aug 2009 13:36:32 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

> Do not use `supercalifragilisticexpialidocious' either.
> How about: Use nil to toggle the mode on or off.

Actually, the docstring already says that nil toggles.  If you remember
that the docstring is written here to describe the command rather than
the function, then you'll immediately conclude that

  With prefix argument arg, turn on if positive, otherwise off.

only applies when there's a prefix argument, so when there isn't, arg is
necessarily nil and the normal behavior (described on the previous line:

   Toggle recentf mode.

) applies.


        Stefan





reply via email to

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