* bug#6611: (auto-fill-mode t) behavior not same as documented
@ 2010-07-11 15:33 Xah Lee
2010-07-11 17:55 ` Eli Zaretskii
0 siblings, 1 reply; 2+ messages in thread
From: Xah Lee @ 2010-07-11 15:33 UTC (permalink / raw)
To: 6611
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/
☄
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#6611: (auto-fill-mode t) behavior not same as documented
2010-07-11 15:33 bug#6611: (auto-fill-mode t) behavior not same as documented Xah Lee
@ 2010-07-11 17:55 ` Eli Zaretskii
0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2010-07-11 17:55 UTC (permalink / raw)
To: xahlee; +Cc: 6611-done
> Date: Sun, 11 Jul 2010 08:33:40 -0700
> From: Xah Lee <xahlee@gmail.com>
> 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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-07-11 17:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-11 15:33 bug#6611: (auto-fill-mode t) behavior not same as documented Xah Lee
2010-07-11 17:55 ` Eli Zaretskii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.