emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 1902450: Fix wording in module API documentation


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-26 1902450: Fix wording in module API documentation
Date: Sun, 14 Oct 2018 12:13:29 -0400 (EDT)

branch: emacs-26
commit 190245035f3cc9a2183954d046d1e6bacb0cf229
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Fix wording in module API documentation
    
    * doc/lispref/internals.texi (Module Functions): Fix confusing
    wording.  Reported by Basil L. Contovounesios <address@hidden>.
---
 doc/lispref/internals.texi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/lispref/internals.texi b/doc/lispref/internals.texi
index 311eb6b..b68c94d 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 address@hidden, 
ptrdiff_t @var{min_arity}, ptrdiff_t @var{max_arity}, subr @var{func}, const 
char address@hidden, void address@hidden)
 @vindex emacs_variadic_function



reply via email to

[Prev in Thread] Current Thread [Next in Thread]