[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 ce7d18cbc07: ; Minor fixes in ELisp manual
From: |
Eli Zaretskii |
Subject: |
emacs-29 ce7d18cbc07: ; Minor fixes in ELisp manual |
Date: |
Sun, 14 May 2023 03:26:42 -0400 (EDT) |
branch: emacs-29
commit ce7d18cbc07886b0d62110a6d26e25271017cd2a
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
; 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}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 ce7d18cbc07: ; Minor fixes in ELisp manual,
Eli Zaretskii <=