From: Eli Zaretskii Date: Tue, 2 Apr 2019 17:08:08 +0000 (+0300) Subject: Fix documentation of last change X-Git-Tag: emacs-27.0.90~3273 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bb669166ba6b33cd1a927c772c87ee2240a10f89;p=emacs.git Fix documentation of last change * doc/misc/cl.texi (Structures): Document :noinline. * etc/NEWS: Mark the entry for :noinline as documented. --- diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi index 32b5076c902..eb06791ba90 100644 --- a/doc/misc/cl.texi +++ b/doc/misc/cl.texi @@ -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 diff --git a/etc/NEWS b/etc/NEWS index db8dc1e49c4..7f6aeab73f0 100644 --- a/etc/NEWS +++ b/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