From: Johan Bockgård Date: Tue, 3 Aug 2010 16:37:00 +0000 (+0200) Subject: * src/data.c (Flocal_variable_p): Handle variable aliases correctly. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~49^2~70 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8d1d9587c92457e1a7171493fdd1bccf682d26f0;p=emacs.git * src/data.c (Flocal_variable_p): Handle variable aliases correctly. --- diff --git a/src/ChangeLog b/src/ChangeLog index ba460cafa22..7c619c2ce57 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2010-08-03 Johan BockgÃ¥rd + + * data.c (Flocal_variable_p): Handle variable aliases correctly. + 2010-08-02 Jan Djärv * xterm.c (x_create_toolkit_scroll_bar): Only set XtNbeNiceToColormap diff --git a/src/data.c b/src/data.c index 69f6cc34c29..570f3053975 100644 --- a/src/data.c +++ b/src/data.c @@ -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)) {