mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08: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:
parent
144b2243b7
commit
bb669166ba
2 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
1
etc/NEWS
1
etc/NEWS
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue