• Paul Eggert's avatar
    cl-make-random-state was not copying its arg · f4ea7464
    Paul Eggert authored
    Problem reported by Xu Chunyang (Bug#33731).
    * lisp/emacs-lisp/cl-extra.el (cl-make-random-state):
    Use copy-sequence, not copy-tree, so that the record is copied.
    * test/lisp/emacs-lisp/cl-extra-tests.el:
    (cl-extra-test-cl-make-random-state): New test.
    f4ea7464
cl-extra-tests.el 3.64 KB