[Top][All Lists]

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

Confused about buffer-local variables

From: Thorsten Jolitz
Subject: Confused about buffer-local variables
Date: Mon, 31 Mar 2014 18:41:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

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 ...


reply via email to

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