aboutsummaryrefslogtreecommitdiffstats
path: root/src/lisp.h
diff options
context:
space:
mode:
authorPhilipp Stephani2017-05-21 22:33:50 +0200
committerPhilipp Stephani2017-05-21 22:33:50 +0200
commitb69f6a779a65f1f3e0963d6fd280ae95970f5325 (patch)
tree5400801f98ecda21d616191c454b23edece6a9a3 /src/lisp.h
parent6f1f88224c62dfb7b311dc1a57db267d118cae5c (diff)
downloademacs-b69f6a779a65f1f3e0963d6fd280ae95970f5325.tar.gz
emacs-b69f6a779a65f1f3e0963d6fd280ae95970f5325.zip
Improve module function terminology
Module functions were previously called "function environments" when the functions created by module_make_functions were lambdas. Now we can adapt the terminology and rename "function environments" to "module functions" everywhere. This also removes the name clash between "function environments" and "module environments." * src/emacs-module.c (module_make_function): Adapt comment to reality; stop using "function environment" terminology. (funcall_module): Stop using "function environment" terminology.
Diffstat (limited to 'src/lisp.h')
-rw-r--r--src/lisp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lisp.h b/src/lisp.h
index f423a66d5a8..7290386b255 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -3901,9 +3901,9 @@ extern void unexec_free (void *);
3901typedef emacs_value (*emacs_subr) (emacs_env *, ptrdiff_t, 3901typedef emacs_value (*emacs_subr) (emacs_env *, ptrdiff_t,
3902 emacs_value [], void *); 3902 emacs_value [], void *);
3903 3903
3904/* Function environments. */ 3904/* Module function. */
3905 3905
3906/* A function environment is an auxiliary structure used by 3906/* A function environment is an auxiliary structure returned by
3907 `module_make_function' to store information about a module 3907 `module_make_function' to store information about a module
3908 function. It is stored in a pseudovector. Its members correspond 3908 function. It is stored in a pseudovector. Its members correspond
3909 to the arguments given to `module_make_function'. */ 3909 to the arguments given to `module_make_function'. */