aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorEli Zaretskii2017-12-22 12:04:23 +0200
committerEli Zaretskii2017-12-22 12:04:23 +0200
commit861d1100784ad2f4c7285a7afdc21e0ce216682c (patch)
tree7b2ff5e405a9791675a508ee6bd64eadf66a984c /etc
parent22b3075bb216c69ee7660151fda4eda70b9c3296 (diff)
downloademacs-861d1100784ad2f4c7285a7afdc21e0ce216682c.tar.gz
emacs-861d1100784ad2f4c7285a7afdc21e0ce216682c.zip
Improve documentation of records
* doc/lispref/Makefile.in (srcs): Add the forgotten records.texi. * doc/lispref/records.texi (Records): Recommend that record type names use package-naming conventions. * etc/NEWS: Add the naming convention recommendation for record types.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index ccd819077ea..692c28a7210 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1584,6 +1584,10 @@ functions 'make-record', 'record', and 'recordp'. Records are now
1584used internally to represent cl-defstruct and defclass instances, for 1584used internally to represent cl-defstruct and defclass instances, for
1585example. 1585example.
1586 1586
1587If your program defines new record types, you should use
1588package-naming conventions for naming those types. This is so any
1589potential conflicts with other types are avoided.
1590
1587+++ 1591+++
1588** 'save-some-buffers' now uses 'save-some-buffers-default-predicate' 1592** 'save-some-buffers' now uses 'save-some-buffers-default-predicate'
1589to decide which buffers to ask about, if the PRED argument is nil. 1593to decide which buffers to ask about, if the PRED argument is nil.