help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: About buffer-local


From: Filipp Gunbin
Subject: Re: About buffer-local
Date: Mon, 24 Dec 2012 15:52:01 +0400
User-agent: Gnus/5.1299999999999999 (Gnus v5.13) Emacs/24.2 (cygwin)

On 24/12/2012 13:47, Xue Fuqiao wrote:

> In elisp manual(node 11.10.1 `Introduction to Buffer-Local Variables'), it 
> says:
> "When a variable has buffer-local bindings in one or more
> buffers, `let' rebinds the binding that's currently in effect."
>
> I don't understand what `rebinds the binding that's currently in
> effect' means, can anybody help?

It is explained in the same node you're referring to, in the beginning:

`A buffer-local variable has a buffer-local binding associated with a
particular buffer.  The binding is in effect when that buffer is
current; otherwise, it is not in effect.  If you set the variable while
a buffer-local binding is in effect, the new value goes in that binding,
so its other bindings are unchanged.  This means that the change is
visible only in the buffer where you made it.'

There's nothing to add here...

-- 
Filipp Gunbin



reply via email to

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