1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-17 10:06:13 +00:00

Fix documentation of last change

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

* etc/NEWS: Mark the entry for :noinline as documented.
This commit is contained in:
Eli Zaretskii 2019-04-02 20:08:08 +03:00
parent 144b2243b7
commit bb669166ba
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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