Subject: Re: bug#1013: 23.0.60; permanent-local not honored for word-wrap

From: Stefan Monnier <[email-masked]>
Date: Sun, 21 Sep 2008 23:26:15 -0400

>   (put 'word-wrap 'permanent-local t)
>   (setq word-wrap t)
>   (kill-all-local-variables)

> and then look at word-wrap. It is nil, but it should be t.

Why should it?  word-wrap is automatically made local, so the `setq' is
really like (set (make-local-variable 'word-wrap) t), thus not changing
the global value at which is you'll be looking in the end.

        Stefan