mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
Merge from origin/emacs-26
081fb69(origin/emacs-26) Check result from c-backward-token-2 to avo...f4ea746cl-make-random-state was not copying its arg
This commit is contained in:
commit
62112a77f1
3 changed files with 8 additions and 3 deletions
|
|
@ -482,7 +482,7 @@ Optional second arg STATE is a random-state object."
|
|||
If STATE is t, return a new state object seeded from the time of day."
|
||||
(unless state (setq state cl--random-state))
|
||||
(if (cl-random-state-p state)
|
||||
(copy-tree state t)
|
||||
(copy-sequence state)
|
||||
(cl--make-random-state (if (integerp state) state (cl--random-time)))))
|
||||
|
||||
;; Implementation limits.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue