Commit f7993597 authored by Karl Heuer's avatar Karl Heuer
Browse files

(Fwidget_put): Return VALUE instead of garbage.

parent 955f3ff9
...@@ -2665,6 +2665,7 @@ The value can later be retrieved with `widget-get'.") ...@@ -2665,6 +2665,7 @@ The value can later be retrieved with `widget-get'.")
{ {
CHECK_CONS (widget, 1); CHECK_CONS (widget, 1);
XCDR (widget) = Fplist_put (XCDR (widget), property, value); XCDR (widget) = Fplist_put (XCDR (widget), property, value);
return value;
} }
DEFUN ("widget-get", Fwidget_get, Swidget_get, 2, 2, 0, DEFUN ("widget-get", Fwidget_get, Swidget_get, 2, 2, 0,
......
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