changeset 62855:5ef5c45c0187

(Fbuffer_local_value): Call indirect_variable.
author Richard M. Stallman <rms@gnu.org>
date Sun, 29 May 2005 08:25:17 +0000
parents ef722b3d0174
children 19deaa395e85
files src/buffer.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.c	Sun May 29 08:24:41 2005 +0000
+++ b/src/buffer.c	Sun May 29 08:25:17 2005 +0000
@@ -889,6 +889,9 @@
   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))