Commit bb669166 authored by Eli Zaretskii's avatar Eli Zaretskii

Fix documentation of last change

* doc/misc/cl.texi (Structures): Document :noinline.

* etc/NEWS: Mark the entry for :noinline as documented.
parent 144b2243
Pipeline #1137 failed with stage
in 60 minutes and 1 second
......@@ -4149,7 +4149,7 @@ package, @code{cl-typep} simply looks for a function called
only if they used the default predicate name.
@item :include
This option implements a very limited form of C++-style inheritance.
This option implements a very limited form of C@t{++}-style inheritance.
The argument is the name of another structure type previously
created with @code{cl-defstruct}. The effect is to cause the new
structure type to inherit all of the included structure's slots
......@@ -4194,6 +4194,10 @@ of a @code{person}, plus extra slots that are specific to
astronauts. Operations that work on people (like @code{person-name})
work on astronauts just like other people.
@item :noinline
If this option is present, this structure's functions will not be
inlined, even functions that normally would.
@item :print-function
In full Common Lisp, this option allows you to specify a function
that is called to print an instance of the structure type. The
......
......@@ -386,6 +386,7 @@ current and the previous or the next line, as before.
* Changes in Specialized Modes and Packages in Emacs 27.1
** cl-lib
+++
*** cl-defstruct has a new :noinline argument to prevent inlining its functions
** doc-view-mode
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment