bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6611: (auto-fill-mode t) behavior not same as documented


From: Eli Zaretskii
Subject: 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 <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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]