summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/cl-extra.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2018-12-20 07:51:17 -0800
committerGlenn Morris <rgm@gnu.org>2018-12-20 07:51:17 -0800
commit62112a77f191c0b00aa420ce2d0fee8aa03592bf (patch)
tree3f6f65f84d5f4a600534ae29aec1ef49fa797c4f /lisp/emacs-lisp/cl-extra.el
parent1e5f84805884e37563db9f16076d458ceaa03917 (diff)
parent081fb694c3f88e77d4a0e09fba8ce457037b9132 (diff)
downloademacs-62112a77f191c0b00aa420ce2d0fee8aa03592bf.tar.gz
Merge from origin/emacs-26
081fb69 (origin/emacs-26) Check result from c-backward-token-2 to avo... f4ea746 cl-make-random-state was not copying its arg
Diffstat (limited to 'lisp/emacs-lisp/cl-extra.el')
-rw-r--r--lisp/emacs-lisp/cl-extra.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/cl-extra.el b/lisp/emacs-lisp/cl-extra.el
index 78484fcfa3f..7d530deae5b 100644
--- a/lisp/emacs-lisp/cl-extra.el
+++ b/lisp/emacs-lisp/cl-extra.el
@@ -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.