diff options
author | Eli Zaretskii <eliz@gnu.org> | 2018-10-14 19:12:49 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2018-10-14 19:12:49 +0300 |
commit | 190245035f3cc9a2183954d046d1e6bacb0cf229 (patch) | |
tree | e88a1e48be1312beffbc4d42c823183e790203e9 | |
parent | e724a8f6694280fcb4753a87011abf9dc1c2771e (diff) | |
download | emacs-190245035f3cc9a2183954d046d1e6bacb0cf229.tar.gz |
Fix wording in module API documentation
* doc/lispref/internals.texi (Module Functions): Fix confusing
wording. Reported by Basil L. Contovounesios <contovob@tcd.ie>.
-rw-r--r-- | doc/lispref/internals.texi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/lispref/internals.texi b/doc/lispref/internals.texi index 311eb6b2620..b68c94d5c78 100644 --- a/doc/lispref/internals.texi +++ b/doc/lispref/internals.texi @@ -1187,12 +1187,12 @@ it does when Lisp code encounters the same situations. @end deftypefn After writing your C code for a module function, you should make a -Lisp function object from it using @code{make_function}. This is +Lisp function object from it using the @code{make_function} function, +whose pointer is provided in the environment (recall that the pointer +to the environment is returned by @code{get_environment}). This is normally done in the module initialization function (@pxref{module initialization function}), after verifying the @acronym{API} -compatibility, and uses the pointer to @code{make_function} provided -in the environment (recall that the pointer to the environment is -returned by @code{get_environment}). +compatibility. @deftypefn Function emacs_value make_function (emacs_env *@var{env}, ptrdiff_t @var{min_arity}, ptrdiff_t @var{max_arity}, subr @var{func}, const char *@var{docstring}, void *@var{data}) @vindex emacs_variadic_function |