Leo <[email protected]> writes:

> I was puzzled by line-move-visual changing to nil mysteriously. It
> turns out that magit modifies it.
>
> But line-move-visual is not buffer local variable, thus this
> modification will affect other things unrelated to magit without the
> user's knowledge.

Oh, right.  

> The fix can be using (visual-line-mode nil) so that it is only turned
> off in magit.

I made line-move-visual buffer local instead in Magit buffers.  I was
messing with line-move-visual primarily to work around some bugs
somewhere related to hiding and showing of text, and I am afraid that
visual-line-mode migth do too much.

Reply via email to