[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: setting of local variable in derived mode
From: |
Stefan Monnier |
Subject: |
Re: setting of local variable in derived mode |
Date: |
Wed, 30 Mar 2016 08:46:48 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
>> > I expect this to set the tab-width in all buffers with this mode to the
>> > value 30. However, the value stays at 8 as before.
>> What makes you think it's set at 8? What did you do to check that?
> The output of C-h v tab-width tells me that it's value is 8.
Hmm... sorry for assuming this was the usual trivial problem.
Indeed, you bumped into another trivial problem:
(set (make-local-variable 'tab-with) 30)
^^^^
d
-- Stefan