summaryrefslogtreecommitdiff
path: root/src/fns.c
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2019-10-16 15:39:42 +0200
committerJuanma Barranquero <lekktu@gmail.com>2019-10-16 15:39:42 +0200
commit4d65821bf016dff6a8b10578913970f854763346 (patch)
treeab1d98d2cdc3aeb2ddabc4707ed12bedd86fff8d /src/fns.c
parentb70f885d582e9431ced5b1a07b526b720e70b7ba (diff)
downloademacs-4d65821bf016dff6a8b10578913970f854763346.tar.gz
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/fns.c')
-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'. */)
DEFUN ("widget-apply", Fwidget_apply, Swidget_apply, 2, MANY, 0,
doc: /* Apply the value of WIDGET's PROPERTY to the widget itself.
+Return the result of applying the value of PROPERTY to WIDGET.
ARGS are passed as extra arguments to the function.
usage: (widget-apply WIDGET PROPERTY &rest ARGS) */)
(ptrdiff_t nargs, Lisp_Object *args)