bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27617: 26.0.50; cl--random-state initialized to old-style vector


From: Christopher Wellons
Subject: bug#27617: 26.0.50; cl--random-state initialized to old-style vector
Date: Sat, 8 Jul 2017 09:39:18 -0400
User-agent: Mutt/1.5.23 (2014-03-12)

The global variable cl--random-state is still being initialized to the old defstruct vector format. See lisp/emacs-lisp/cl-lib.el:296. This breaks all random number functions when the STATE argument isn't supplied:

   $ emacs -Q --batch -l cl-lib --eval '(cl-random 10)'
   Wrong type argument: cl--random-state, [cl--random-state-tag -1 30 ...]





reply via email to

[Prev in Thread] Current Thread [Next in Thread]