From 0e4d0c9af9b226de5f17dccd52840c1e8050fa14 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 29 May 2005 08:25:17 +0000 Subject: [PATCH] (Fbuffer_local_value): Call indirect_variable. --- src/buffer.c | 3 +++ 1 file changed, 3 insertions(+) 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)) -- 2.39.2