Commit 088c8c37 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(Fplist_put): Preserve uneven tail data.

parent fa5cea67
2007-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
* fns.c (Fplist_put): Preserve uneven tail data.
2007-09-16 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
 
* gtkutil.c (xg_get_image_for_pixmap): Always create a GdkPixbuf
......
......@@ -2060,7 +2060,7 @@ The PLIST is modified by side effects. */)
prev = tail;
QUIT;
}
newcell = Fcons (prop, Fcons (val, Qnil));
newcell = Fcons (prop, Fcons (val, NILP (prev) ? plist : XCDR (XCDR (prev))));
if (NILP (prev))
return newcell;
else
......
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