|
From: | Jorge A. Alfaro-Murillo |
Subject: | Re: Doing things only in a particular mode |
Date: | Mon, 24 Aug 2015 15:47:37 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Joost Kremers writes:
Note that I use `-1` as the argument to `visual-line-mode`. IIRC an argument of 0 would actually activate the mode.
That is wrong, for any mode, say "foo", calling the function foo-mode with a prefix argument ARG, should enable the mode if ARG is positive or nil, and disable it otherwise. 0 is not positive.
-- Jorge.
[Prev in Thread] | Current Thread | [Next in Thread] |