emacs-devel
[Top][All Lists]
Advanced

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

Re: make-variable-buffer-local + make-local-variable ?


From: Chong Yidong
Subject: Re: make-variable-buffer-local + make-local-variable ?
Date: Mon, 22 Sep 2008 11:49:32 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

"Lennart Borgman (gmail)" <address@hidden> writes:

> Is there anything wrong with using
>
>   (setq (make-local-variable 'my-var) value)
>
> when my-var has been made buffer local with
>
>   (make-variable-buffer-local 'my-var)
>
> Except that it looks unnecessary of course ... ;-)

No, but the setq should be a set.




reply via email to

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