changeset 23207:302eccdcb73c

(Fwidget_put): Return VALUE instead of garbage.
author Karl Heuer <kwzh@gnu.org>
date Mon, 07 Sep 1998 17:34:59 +0000
parents a9090a71e969
children 1abc842b1ca7
files src/fns.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/fns.c	Mon Sep 07 17:31:29 1998 +0000
+++ b/src/fns.c	Mon Sep 07 17:34:59 1998 +0000
@@ -2665,6 +2665,7 @@
 {
   CHECK_CONS (widget, 1);
   XCDR (widget) = Fplist_put (XCDR (widget), property, value);
+  return value;
 }
 
 DEFUN ("widget-get", Fwidget_get, Swidget_get, 2, 2, 0,