[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why aren't paragraph-s\(tart\|eparate\) buffer local by default?
From: |
Stefan Monnier |
Subject: |
Re: Why aren't paragraph-s\(tart\|eparate\) buffer local by default? |
Date: |
Mon, 20 Jun 2005 08:28:33 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> Unfortunately, the CC Mode initialisation hadn't been done for the
> buffer. In particular, the the two paragraph variables hadn't been made
> buffer local. So the global values got overwritten.
Which is why I strongly recommend to always use
(set (make-local-variable 'foo) bar)
rather than
(make-local-variable 'foo)
...
...
(setq foo bar)
Putting the two parts in different functions is asking for trouble,
Stefan