aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2019-04-02 20:08:08 +0300
committerEli Zaretskii2019-04-02 20:08:08 +0300
commitbb669166ba6b33cd1a927c772c87ee2240a10f89 (patch)
tree7379fc4a3bd00174769d9aab12a02b4111cf7b07
parent144b2243b7cee4adbc3217d871c575921f95af54 (diff)
downloademacs-bb669166ba6b33cd1a927c772c87ee2240a10f89.tar.gz
emacs-bb669166ba6b33cd1a927c772c87ee2240a10f89.zip
Fix documentation of last change
* doc/misc/cl.texi (Structures): Document :noinline. * etc/NEWS: Mark the entry for :noinline as documented.
-rw-r--r--doc/misc/cl.texi6
-rw-r--r--etc/NEWS1
2 files changed, 6 insertions, 1 deletions
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
4149only if they used the default predicate name. 4149only if they used the default predicate name.
4150 4150
4151@item :include 4151@item :include
4152This option implements a very limited form of C++-style inheritance. 4152This option implements a very limited form of C@t{++}-style inheritance.
4153The argument is the name of another structure type previously 4153The argument is the name of another structure type previously
4154created with @code{cl-defstruct}. The effect is to cause the new 4154created with @code{cl-defstruct}. The effect is to cause the new
4155structure type to inherit all of the included structure's slots 4155structure 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
4194astronauts. Operations that work on people (like @code{person-name}) 4194astronauts. Operations that work on people (like @code{person-name})
4195work on astronauts just like other people. 4195work on astronauts just like other people.
4196 4196
4197@item :noinline
4198If this option is present, this structure's functions will not be
4199inlined, even functions that normally would.
4200
4197@item :print-function 4201@item :print-function
4198In full Common Lisp, this option allows you to specify a function 4202In full Common Lisp, this option allows you to specify a function
4199that is called to print an instance of the structure type. The 4203that 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.
386* Changes in Specialized Modes and Packages in Emacs 27.1 386* Changes in Specialized Modes and Packages in Emacs 27.1
387 387
388** cl-lib 388** cl-lib
389+++
389*** cl-defstruct has a new :noinline argument to prevent inlining its functions 390*** cl-defstruct has a new :noinline argument to prevent inlining its functions
390 391
391** doc-view-mode 392** doc-view-mode