summaryrefslogtreecommitdiff
path: root/src/eval.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2025-12-06 12:33:44 +0200
committerEli Zaretskii <eliz@gnu.org>2025-12-06 12:33:44 +0200
commit8f5c26cec2190cda947eb113b96dbe4d42bac83a (patch)
tree97c2084e0d0777c32ab48700fa6401667f4047c2 /src/eval.c
parent3e81d0573a7d7519cb58f065e1f7780bd3bb3bb1 (diff)
; * src/eval.c (Ffunc_arity): Doc fix (bug#79880).
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index 0c29de9f3ad..18f1b65f0f9 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -3444,7 +3444,12 @@ DEFUN ("func-arity", Ffunc_arity, Sfunc_arity, 1, 1, 0,
FUNCTION must be a function of some kind.
The returned value is a cons cell (MIN . MAX). MIN is the minimum number
of args. MAX is the maximum number, or the symbol `many', for a
-function with `&rest' args, or `unevalled' for a special form. */)
+function with `&rest' args, or `unevalled' for a special form.
+
+Note that this function might return inaccurate results in some cases,
+such as with functions defined using `apply-partially', functions
+advised using `advice-add', and functions that determine their arg
+list dynamically. */)
(Lisp_Object function)
{
Lisp_Object original;