Commit 8d1d9587 authored by Johan Bockgård's avatar Johan Bockgård
Browse files

* src/data.c (Flocal_variable_p): Handle variable aliases correctly.

parent 9f982e22
2010-08-03 Johan Bockgård <bojohan@gnu.org>
* data.c (Flocal_variable_p): Handle variable aliases correctly.
2010-08-02 Jan Djärv <jan.h.d@swipnet.se>
 
* xterm.c (x_create_toolkit_scroll_bar): Only set XtNbeNiceToColormap
......
......@@ -1866,6 +1866,7 @@ BUFFER defaults to the current buffer. */)
Lisp_Object tail, elt, tmp;
struct Lisp_Buffer_Local_Value *blv = SYMBOL_BLV (sym);
XSETBUFFER (tmp, buf);
XSETSYMBOL (variable, sym); /* Update in case of aliasing. */
for (tail = buf->local_var_alist; CONSP (tail); tail = XCDR (tail))
{
......
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