all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* About buffer-local
@ 2012-12-24  9:47 Xue Fuqiao
  2012-12-24 11:52 ` Filipp Gunbin
  0 siblings, 1 reply; 2+ messages in thread
From: Xue Fuqiao @ 2012-12-24  9:47 UTC (permalink / raw)
  To: help-gnu-emacs

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?
-- 
Best regards.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: About buffer-local
  2012-12-24  9:47 About buffer-local Xue Fuqiao
@ 2012-12-24 11:52 ` Filipp Gunbin
  0 siblings, 0 replies; 2+ messages in thread
From: Filipp Gunbin @ 2012-12-24 11:52 UTC (permalink / raw)
  To: Xue Fuqiao; +Cc: help-gnu-emacs

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-24 11:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-24  9:47 About buffer-local Xue Fuqiao
2012-12-24 11:52 ` Filipp Gunbin

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.