From: Stefan Kangas Date: Fri, 24 Sep 2021 22:05:55 +0000 (+0200) Subject: Doc fix; cl-random is only pseudo-random X-Git-Tag: emacs-28.0.90~676 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d03995197dcc1a2a26636fe466bf4691175c89ad;p=emacs.git Doc fix; cl-random is only pseudo-random * lisp/emacs-lisp/cl-extra.el (cl-random): Doc fix; say it's only pseudo-random. --- diff --git a/lisp/emacs-lisp/cl-extra.el b/lisp/emacs-lisp/cl-extra.el index 3840d13ecff..0ed75475097 100644 --- a/lisp/emacs-lisp/cl-extra.el +++ b/lisp/emacs-lisp/cl-extra.el @@ -455,7 +455,7 @@ as an integer unless JUNK-ALLOWED is non-nil." ;;;###autoload (defun cl-random (lim &optional state) - "Return a random nonnegative number less than LIM, an integer or float. + "Return a pseudo-random nonnegative number less than LIM, an integer or float. Optional second arg STATE is a random-state object." (or state (setq state cl--random-state)) ;; Inspired by "ran3" from Numerical Recipes. Additive congruential method.