[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: |
Mon, 10 Aug 2009 12:40:34 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
> in my elisp code, i have:
> (recentf-mode nil)
> this should turn it off, but actually it toggles.
That's indeed the standard behavior for all minor modes. Use integers
to avoid such surprises.
> With prefix argument arg, turn on if positive, otherwise off.
It's not clear whether nil is positive or negative.
Stefan