emacs-devel
[Top][All Lists]
Advanced

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

Re: Why is make-variable-buffer-local interactive?


From: Lennart Borgman (gmail)
Subject: Re: Why is make-variable-buffer-local interactive?
Date: Fri, 21 Mar 2008 11:57:52 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

Toby Allsopp wrote:
On Thu, Mar 20 2008, Lennart Borgman (gmail) wrote:

Does it really make sense to do such changes interactively? If you
know what you are doing when you call this function then surely you
know how to do it in elisp, or?

FWIW, I use M-x make-variable-buffer-local quite often while editing
Perl code using cperl-mode.  I find that I quite often want different
values of `cperl-indent-level' in different buffers.  Perhaps this means
I should just put (make-variable-buffer-local 'cperl-indent-level) in my
.emacs.

Yes, probably. There is of course also make-local-variable which is less drastic (but does not help very much in .emacs ... ;-)




reply via email to

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