Fix wording in eieio.texi (Generics)

* doc/misc/eieio.texi (Generics): Fix wording in paragraph
(bug#52317).
This commit is contained in:
Lars Ingebrigtsen 2021-12-05 22:03:24 +01:00
parent 6980a4fa45
commit e00623c5bd

View file

@ -856,11 +856,12 @@ You can also create a generic method with @code{cl-defmethod}
(@pxref{Methods}). When a method is created and there is no generic
method in place with that name, then a new generic will be created,
and the new method will use it.
@end defmac
In CLOS, a generic call also be used to provide an argument list and
dispatch precedence for all the arguments. In @eieio{}, dispatching
only occurs for the first argument, so the @var{arglist} is not used.
In CLOS, a generic method can also be used to provide an argument list
and dispatch precedence for all the arguments. In @eieio{},
dispatching only occurs for the first argument, so the @var{arglist}
is not used.
@end defmac
@node Methods
@section Methods