aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJuanma Barranquero2019-10-16 15:39:42 +0200
committerJuanma Barranquero2019-10-16 15:39:42 +0200
commit4d65821bf016dff6a8b10578913970f854763346 (patch)
treeab1d98d2cdc3aeb2ddabc4707ed12bedd86fff8d /src
parentb70f885d582e9431ced5b1a07b526b720e70b7ba (diff)
downloademacs-4d65821bf016dff6a8b10578913970f854763346.tar.gz
emacs-4d65821bf016dff6a8b10578913970f854763346.zip
Add/fix documentation for widget-apply
* doc/misc/widget.texi (Widget Properties): Document `widget-apply'. * src/fns.c (Fwidget_apply): Document return value (used in many places).
Diffstat (limited to 'src')
-rw-r--r--src/fns.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fns.c b/src/fns.c
index fc1abe8b18a..cbb6879223d 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -3093,6 +3093,7 @@ later with `widget-put'. */)
3093 3093
3094DEFUN ("widget-apply", Fwidget_apply, Swidget_apply, 2, MANY, 0, 3094DEFUN ("widget-apply", Fwidget_apply, Swidget_apply, 2, MANY, 0,
3095 doc: /* Apply the value of WIDGET's PROPERTY to the widget itself. 3095 doc: /* Apply the value of WIDGET's PROPERTY to the widget itself.
3096Return the result of applying the value of PROPERTY to WIDGET.
3096ARGS are passed as extra arguments to the function. 3097ARGS are passed as extra arguments to the function.
3097usage: (widget-apply WIDGET PROPERTY &rest ARGS) */) 3098usage: (widget-apply WIDGET PROPERTY &rest ARGS) */)
3098 (ptrdiff_t nargs, Lisp_Object *args) 3099 (ptrdiff_t nargs, Lisp_Object *args)