; Minor fixes in ELisp manual

* doc/lispref/functions.texi (Declare Form): Improve indexing.
(Obsolete Functions): Add cross-reference.
`
This commit is contained in:
Eli Zaretskii 2023-05-14 10:26:03 +03:00
parent 5c8864fab4
commit ce7d18cbc0

View file

@ -2360,6 +2360,11 @@ this:
(set-advertised-calling-convention
'sit-for '(seconds &optional nodisp) "22.1")
@end example
@noindent
The alternative to using this function is the
@code{advertised-calling-convention} @code{declare} spec, see
@ref{Declare Form}.
@end defun
@node Inline Functions
@ -2536,6 +2541,7 @@ Each element in @var{specs} should have the form @code{(@var{property}
following effects:
@table @code
@cindex @code{advertised-calling-convention} (@code{declare} spec)
@item (advertised-calling-convention @var{signature} @var{when})
This acts like a call to @code{set-advertised-calling-convention}
(@pxref{Obsolete Functions}); @var{signature} specifies the correct
@ -2561,6 +2567,7 @@ This is typically used for macros, though it works for functions too.
Set the function's @code{interactive-only} property to @var{value}.
@xref{The interactive-only property}.
@cindex @code{obsolete} (@code{declare} spec)
@item (obsolete @var{current-name} @var{when})
Mark the function or macro as obsolete, similar to a call to
@code{make-obsolete} (@pxref{Obsolete Functions}). @var{current-name}