From: Christopher Wellons <wellons@nullprogram.com>
To: 27617@debbugs.gnu.org
Subject: bug#27617: [PATCH] Fix cl--random-state initialization.
Date: Mon, 10 Jul 2017 14:56:46 -0400 [thread overview]
Message-ID: <20170710185646.GH17540@nullprogram.com> (raw)
In-Reply-To: <20170708133918.GD17540@nullprogram.com>
Here's a trivial patch that fixes this bug.
---
lisp/emacs-lisp/cl-lib.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/emacs-lisp/cl-lib.el b/lisp/emacs-lisp/cl-lib.el
index 936c852526c..ea47a0562ee 100644
--- a/lisp/emacs-lisp/cl-lib.el
+++ b/lisp/emacs-lisp/cl-lib.el
@@ -294,7 +294,7 @@ cl--random-time
v))
(defvar cl--random-state
- (vector 'cl--random-state-tag -1 30 (cl--random-time)))
+ (record 'cl--random-state -1 30 (cl--random-time)))
(defconst cl-most-positive-float nil
"The largest value that a Lisp float can hold.
--
2.11.0
next prev parent reply other threads:[~2017-07-10 18:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-08 13:39 bug#27617: 26.0.50; cl--random-state initialized to old-style vector Christopher Wellons
2017-07-10 18:56 ` Christopher Wellons [this message]
2017-07-14 9:50 ` Paul Eggert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170710185646.GH17540@nullprogram.com \
--to=wellons@nullprogram.com \
--cc=27617@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.