APPROVE COMMIT
NOTE: This patch has been committed
# HG changeset patch
# User Aidan Kehoe <kehoea(a)parhasard.net>
# Date 1495060054 -3600
# Wed May 17 23:27:34 2017 +0100
# Node ID 5465cf0baa425adc8df3c11e14f9c3783c6bc702
# Parent d745116738120282e98054133b2835e04a206758
Small fix, #'generate-new-buffer-name.
2017-05-17 Aidan Kehoe <kehoea(a)parhasard.net>
* buffer.c (Fgenerate_new_buffer_name):
Start the count here at <2> as documented, rather than 3.
diff -r d74511673812 -r 5465cf0baa42 src/ChangeLog
--- a/src/ChangeLog Thu May 11 21:02:50 2017 +0100
+++ b/src/ChangeLog Wed May 17 23:27:34 2017 +0100
@@ -27,6 +27,11 @@
Accept a vector PACKAGE here too, thank you for the bug report,
Raymond Toy.
+2017-05-17 Aidan Kehoe <kehoea(a)parhasard.net>
+
+ * buffer.c (Fgenerate_new_buffer_name):
+ Start the count here at <2> as documented, rather than 3.
+
2017-04-19 Aidan Kehoe <kehoea(a)parhasard.net>
* buffer.c:
diff -r d74511673812 -r 5465cf0baa42 src/buffer.c
--- a/src/buffer.c Thu May 11 21:02:50 2017 +0100
+++ b/src/buffer.c Wed May 17 23:27:34 2017 +0100
@@ -814,7 +814,7 @@
+ sizeof ("<>");
candidate = alloca_ibytes (csize);
- count = itext_ichar_eql (XSTRING_DATA (name), ' ') ? get_random () : 2;
+ count = itext_ichar_eql (XSTRING_DATA (name), ' ') ? get_random () : 1;
while (1)
{
/* XEmacs; GNU worry about the performance of this function, and then
--
‘As I sat looking up at the Guinness ad, I could never figure out /
How your man stayed up on the surfboard after forty pints of stout’
(C. Moore)
Show replies by date