[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 2a4b0da: Make minor mode ARG work as documented
From: |
Lars Ingebrigtsen |
Subject: |
Re: master 2a4b0da: Make minor mode ARG work as documented |
Date: |
Mon, 02 Nov 2020 15:48:08 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> +If called from Lisp, toggle the mode if if ARG is `toggle'.
>> +Enable the mode if ARG is nil, omitted, or is a positive number.
>> +All other values will disable the mode.
>
> No: only non-positive numbers should be documented to disable the mode.
> Other values should not be kept free for future use.
I altered the code to do what the documentation said it should do, but
that's not really tenable, because people use these other values. So
I've partially reverted the code changes and adjusted the doc string
instead.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no