From: Richard M. Stallman Date: Sun, 29 May 2005 08:25:17 +0000 (+0000) Subject: (Fbuffer_local_value): Call indirect_variable. X-Git-Tag: emacs-pretest-22.0.90~9451 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0e4d0c9af9b226de5f17dccd52840c1e8050fa14;p=emacs.git (Fbuffer_local_value): Call indirect_variable. --- diff --git a/src/buffer.c b/src/buffer.c index dfcf4a9a0b9..a287e45df78 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -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))