Commit 0e4d0c9a authored by Richard M. Stallman's avatar Richard M. Stallman

(Fbuffer_local_value): Call indirect_variable.

parent bebcc4b1
......@@ -889,6 +889,9 @@ is the default binding of the variable. */)
CHECK_BUFFER (buffer);
buf = XBUFFER (buffer);
if (SYMBOLP (variable))
variable = indirect_variable (variable);
/* Look in local_var_list */
result = Fassoc (variable, buf->local_var_alist);
if (NILP (result))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment