emacs-devel
[Top][All Lists]
Advanced

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

Re: longlines-auto-wrap: doc string wrong, or bug?


From: Chong Yidong
Subject: Re: longlines-auto-wrap: doc string wrong, or bug?
Date: Sat, 12 May 2007 19:21:29 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (gnu/linux)

Richard Stallman <address@hidden> writes:

>     It appears that `longlines-auto-wrap' as a variable can't be set  
>     directly - at least to no effect. I have to explicitly do (longlines- 
>     auto-wrap 0) to turn it off.
>
> I agree that the function `longlines-auto-wrap' should toggle when
> given no argument.
>
> The function `longlines-auto-wrap' seems to expect the variable to be
> buffer-local, since it wraps the current buffer in addition to setting
> the variable.  Should we add a call to `make-variable-buffer-local'
> for it?

I've fixed this on the trunk.

(It's probably not important enough to check in to the branch, because
frankly turning off auto-wrap is a silly thing to do; it mostly
defeats the purpose of longlines mode.  It's there primarily due to
legacy reasons.)




reply via email to

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