--- Begin Message ---
Subject: |
(auto-fill-mode t) behavior not same as documented |
Date: |
Sun, 11 Jul 2010 08:33:40 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 |
according to the doc of auto-fill-mode, it should turn the mode on
always if and only if the arg is positive. Quote:
--------------
(auto-fill-mode &optional ARG)
Toggle Auto Fill mode.
With ARG, turn Auto Fill mode on if and only if ARG is positive.
--------------
however, (auto-fill-mode t) seems to always turn it on. (does not toggle)
GNU Emacs 23.2.1 (i386-mingw-nt6.0.6002) of 2010-05-08 on G41R2F1
behavior can be reproduced with starting emacs -Q.
Xah
∑ http://xahlee.org/
☄
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#6611: (auto-fill-mode t) behavior not same as documented |
Date: |
Sun, 11 Jul 2010 20:55:19 +0300 |
> Date: Sun, 11 Jul 2010 08:33:40 -0700
> From: Xah Lee <address@hidden>
> Cc:
>
> according to the doc of auto-fill-mode, it should turn the mode on
> always if and only if the arg is positive. Quote:
>
> --------------
> (auto-fill-mode &optional ARG)
>
> Toggle Auto Fill mode.
> With ARG, turn Auto Fill mode on if and only if ARG is positive.
> --------------
>
> however, (auto-fill-mode t) seems to always turn it on. (does not toggle)
It toggles WITHOUT an argument. That's why the second line says "With
ARG...", meaning that the previous line was about calling without ARG.
(As always in Lisp, an absent argument and an argument that is nil
have the same effect.)
I'm closing this report.
--- End Message ---