GNU bug report logs - #4102
23.1.50; recentf-mode nil but toggles

Previous Next

Package: emacs;

Reported by: "Xah Lee" <xah <at> xahlee.org>

Date: Mon, 10 Aug 2009 08:15:05 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Kevin Rodgers <kevin.d.rodgers <at> gmail.com>
Cc: 4102 <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
Subject: bug#4102: 23.1.50; recentf-mode nil but toggles
Date: Thu, 13 Aug 2009 13:36:32 -0400
> 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




This bug report was last modified 15 years and 340 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.