summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-05-14 10:26:03 +0300
committerEli Zaretskii <eliz@gnu.org>2023-05-14 10:26:03 +0300
commitce7d18cbc07886b0d62110a6d26e25271017cd2a (patch)
tree6747948cdb7e0589694b3df20dd9b162004dd1f2
parent5c8864fab4fd445144eb9ba845e02230302819dc (diff)
downloademacs-ce7d18cbc07886b0d62110a6d26e25271017cd2a.tar.gz
; Minor fixes in ELisp manual
* doc/lispref/functions.texi (Declare Form): Improve indexing. (Obsolete Functions): Add cross-reference. `
-rw-r--r--doc/lispref/functions.texi7
1 files changed, 7 insertions, 0 deletions
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}