all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Confused about buffer-local variables
@ 2014-03-31 16:41 Thorsten Jolitz
  2014-03-31 19:47 ` Nicolas Richard
  0 siblings, 1 reply; 5+ messages in thread
From: Thorsten Jolitz @ 2014-03-31 16:41 UTC (permalink / raw)
  To: help-gnu-emacs


Hi List, 

assume function `foo' is defined in library A and uses variable `bar'
defined in that library with value "X". Now I call function `foo' from a
buffer where variable `bar' is set as a buffer-local variable to a
different value "Y".

Which value is `foo' going to use - "X" or "Y"? I would have said "Y"
but feel a bit confused right now ...

-- 
cheers,
Thorsten





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

end of thread, other threads:[~2014-04-01 10:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-31 16:41 Confused about buffer-local variables Thorsten Jolitz
2014-03-31 19:47 ` Nicolas Richard
2014-03-31 21:10   ` Thorsten Jolitz
2014-04-01 10:11     ` Nicolas Richard
2014-04-01 10:33       ` Thorsten Jolitz

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.