aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorAllen Li2018-10-24 20:44:01 -0600
committerEli Zaretskii2018-11-10 11:41:51 +0200
commit5578112e182e20661783a1fef2c779b8844cf082 (patch)
treef7ab48c6949bf6b0598ed705578a4cacae554207 /etc
parent705adc237629a78c10165f9a3b3260cb56242cda (diff)
downloademacs-5578112e182e20661783a1fef2c779b8844cf082.tar.gz
emacs-5578112e182e20661783a1fef2c779b8844cf082.zip
Add 'ring-resize' function
* lisp/emacs-lisp/ring.el (ring-resize): New function. (Bug#32849) * doc/lispref/sequences.texi (Rings): Document new function 'ring-resize'. * etc/NEWS: Document new function 'ring-resize'. * test/lisp/emacs-lisp/ring-tests.el (ring-test-ring-resize): New tests.
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 7f3e74457da..668b59a20a4 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1218,6 +1218,10 @@ to mean that it is not known whether DST is in effect.
1218'json-insert', 'json-parse-string', and 'json-parse-buffer'. These 1218'json-insert', 'json-parse-string', and 'json-parse-buffer'. These
1219are implemented in C using the Jansson library. 1219are implemented in C using the Jansson library.
1220 1220
1221+++
1222** New function 'ring-resize'.
1223'ring-resize' can be used to grow or shrink a ring.
1224
1221** Mailcap 1225** Mailcap
1222 1226
1223--- 1227---