1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

Fix typo and inaccuracy in the ELisp Reference manual

* doc/lispref/loading.texi (Dynamic Modules): Fix a typo.
* doc/lispref/customize.texi (Group Definitions): Faces are also
in the 'custom-group' property of a customization group.
(Bug#62887)

Copyright-paperwork-exempt: yes
This commit is contained in:
Shynur 2023-04-17 02:13:32 +08:00 committed by Eli Zaretskii
parent df17682ebf
commit 1b8b2cf61b
2 changed files with 5 additions and 4 deletions

View File

@ -264,11 +264,12 @@ have any number of prefixes.
@end table @end table
@cindex @code{custom-group} property @cindex @code{custom-group} property
The variables and subgroups of a group are stored in the The variables, faces, and subgroups of a group are stored in the
@code{custom-group} property of the group's symbol. @xref{Symbol @code{custom-group} property of the group's symbol. @xref{Symbol
Plists}. The value of that property is a list of pairs whose Plists}. The value of that property is a list of pairs whose
@code{car} is the variable or subgroup symbol and the @code{cdr} is @code{car} is the symbol of the variable or the face or the subgroup,
either @code{custom-variable} or @code{custom-group}. and the @code{cdr} is one of the corresponding symbols
@code{custom-variable}, @code{custom-face}, or @code{custom-group}.
@end defmac @end defmac
@defopt custom-unlispify-remove-prefixes @defopt custom-unlispify-remove-prefixes

View File

@ -1338,7 +1338,7 @@ specified @var{file} and perform the necessary initialization of the
module. This is the primitive which makes sure the module exports the module. This is the primitive which makes sure the module exports the
@code{plugin_is_GPL_compatible} symbol, calls the module's @code{plugin_is_GPL_compatible} symbol, calls the module's
@code{emacs_module_init} function, and signals an error if that @code{emacs_module_init} function, and signals an error if that
function returns an error indication, or if the use typed @kbd{C-g} function returns an error indication, or if the user typed @kbd{C-g}
during the initialization. If the initialization succeeds, during the initialization. If the initialization succeeds,
@code{module-load} returns @code{t}. Note that @var{file} must @code{module-load} returns @code{t}. Note that @var{file} must
already have the proper file-name extension, as this function doesn't already have the proper file-name extension, as this function doesn't