From ce7d18cbc07886b0d62110a6d26e25271017cd2a Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 14 May 2023 10:26:03 +0300 Subject: [PATCH] ; Minor fixes in ELisp manual * doc/lispref/functions.texi (Declare Form): Improve indexing. (Obsolete Functions): Add cross-reference. ` --- doc/lispref/functions.texi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi index 4ab7a194eb0..fc902a70bf0 100644 --- a/doc/lispref/functions.texi +++ b/doc/lispref/functions.texi @@ -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} -- 2.39.5