From: Lars Ingebrigtsen Date: Wed, 2 Feb 2022 18:55:19 +0000 (+0100) Subject: Add some indexing for "compiler macro" X-Git-Tag: emacs-29.0.90~2575 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6fbf37a575e34a2313dfff059862a973c7bf512b;p=emacs.git Add some indexing for "compiler macro" * doc/lispref/functions.texi (Inline Functions): Add a link to where compiler macros are defined. (Declare Form): Add a concept index. --- diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi index 2378e9efd7e..207919ea645 100644 --- a/doc/lispref/functions.texi +++ b/doc/lispref/functions.texi @@ -2153,8 +2153,8 @@ worry about how many times the body uses the arguments, as you do for macros. Alternatively, you can define a function by providing the code which -will inline it as a compiler macro. The following macros make this -possible. +will inline it as a compiler macro (@pxref{Declare Form}). The +following macros make this possible. @c FIXME: Can define-inline use the interactive spec? @defmac define-inline name args [doc] [declare] body@dots{} @@ -2310,6 +2310,7 @@ which case the warning message gives no extra details). @var{when} should be a string indicating when the function or macro was first made obsolete. +@cindex compiler macro @item (compiler-macro @var{expander}) This can only be used for functions, and tells the compiler to use @var{expander} as an optimization function. When encountering a call to the