1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-29 11:02:01 +00:00

(Fbuffer_local_value): Call indirect_variable.

This commit is contained in:
Richard M. Stallman 2005-05-29 08:25:17 +00:00
parent bebcc4b15f
commit 0e4d0c9af9

View File

@ -889,6 +889,9 @@ is the default binding of the variable. */)
CHECK_BUFFER (buffer); CHECK_BUFFER (buffer);
buf = XBUFFER (buffer); buf = XBUFFER (buffer);
if (SYMBOLP (variable))
variable = indirect_variable (variable);
/* Look in local_var_list */ /* Look in local_var_list */
result = Fassoc (variable, buf->local_var_alist); result = Fassoc (variable, buf->local_var_alist);
if (NILP (result)) if (NILP (result))