aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorStefan Monnier2019-07-29 11:56:11 -0400
committerStefan Monnier2019-07-29 11:56:11 -0400
commit75361be63fcd42497dd1eb93cab3255833334475 (patch)
treeb67e1dda5333f799e5df850765e1d68e8d1c77dd /etc
parentb47ca8125b39b871328da114637449a86050baa5 (diff)
downloademacs-75361be63fcd42497dd1eb93cab3255833334475.tar.gz
emacs-75361be63fcd42497dd1eb93cab3255833334475.zip
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Add slot option :documentation
Use it to improve the docstring of the accessor functions. * doc/misc/cl.texi: Rename menu entry to "CL-Lib". (Structures): Add ':documentation' and mention ':type' as well, which we don't completely ignore any more.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 7c21cc79307..1587eab1e29 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -535,6 +535,9 @@ be functions.
535*** 'cl-defstruct' has a new ':noinline' argument to prevent inlining 535*** 'cl-defstruct' has a new ':noinline' argument to prevent inlining
536its functions. 536its functions.
537 537
538+++
539*** `cl-defstruct' slots accept a ':documentation' property
540
538--- 541---
539*** 'cl-values-list' will now signal an error if its argument isn't a list. 542*** 'cl-values-list' will now signal an error if its argument isn't a list.
540 543