aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2016-01-15 11:47:55 +0200
committerPaul Eggert2016-03-21 17:05:55 -0700
commit05b62680782ec4fc58a53a22a0fc2771df0fca0b (patch)
treefda0213f13e056f17dddef9805629bd4426db129
parenta1f71da92dbcc90c230df719483527c07303be59 (diff)
downloademacs-05b62680782ec4fc58a53a22a0fc2771df0fca0b.tar.gz
emacs-05b62680782ec4fc58a53a22a0fc2771df0fca0b.zip
Merge doc fixes for 'random' lost in previous merge
[This reapplies part of commit 3ffe81e245d854a694ae1734f1b6a995bdc5e724, which was inadvertently lost by merge commit 7823745acbe9b87eea2db4ef434e379fc903ec35.] (Bug#22202)
-rw-r--r--doc/lispref/numbers.texi4
-rw-r--r--etc/NEWS8
2 files changed, 11 insertions, 1 deletions
diff --git a/doc/lispref/numbers.texi b/doc/lispref/numbers.texi
index 20d3c4290f3..28eb6b18afa 100644
--- a/doc/lispref/numbers.texi
+++ b/doc/lispref/numbers.texi
@@ -1252,7 +1252,9 @@ any integer representable in Lisp, i.e., an integer between
1252(@pxref{Integer Basics}). 1252(@pxref{Integer Basics}).
1253 1253
1254If @var{limit} is @code{t}, it means to choose a new seed as if Emacs 1254If @var{limit} is @code{t}, it means to choose a new seed as if Emacs
1255were restarting. 1255were restarting, typically from the system entropy. On systems
1256lacking entropy pools, choose the seed from less-random volatile data
1257such as the current time.
1256 1258
1257If @var{limit} is a string, it means to choose a new seed based on the 1259If @var{limit} is a string, it means to choose a new seed based on the
1258string's contents. 1260string's contents.
diff --git a/etc/NEWS b/etc/NEWS
index 6d2dc2fa470..57bd110116b 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -424,6 +424,14 @@ for use in Emacs bug reports.
424hiding character but the default `.' can be used by let-binding the 424hiding character but the default `.' can be used by let-binding the
425variable `read-hide-char'. 425variable `read-hide-char'.
426 426
427+++
428** The Emacs pseudo-random number generator can be securely seeded.
429On system where Emacs can access the system entropy or some other
430cryptographically secure random stream, it now uses that when `random'
431is called with its argument `t'. This allows cryptographically strong
432random values; in particular, the Emacs server now uses this facility
433to produce its authentication key.
434
427--- 435---
428** New input methods: `tamil-dvorak' and `programmer-dvorak'. 436** New input methods: `tamil-dvorak' and `programmer-dvorak'.
429 437