]> git.eshelyaron.com Git - emacs.git/commit
Initialize cl--gensym-counter to 0
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 27 Jun 2015 17:57:02 +0000 (10:57 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 27 Jun 2015 17:59:08 +0000 (10:59 -0700)
commitefc262f5f8a16d25c0db4e80fa52e693897fa41f
tree6a78ad9a601676202619bbf50eccff61f2936e83
parent5e3fde03b45877d3e30f859a14c10043e637aa63
Initialize cl--gensym-counter to 0

Previously it was initialized to a random value, which made it
harder to reproduce earlier Emacs runs.  The need for a random
value went away when Emacs introduced and used the #: syntax for
uninterned symbols (Bug#20862).
* doc/misc/cl.texi (Creating Symbols, Common Lisp Compatibility):
Document that cl--gensym-counter now starts with 0.
* lisp/emacs-lisp/cl-lib.el (cl--gensym-counter): Remove.
(cl--random-time): Move to near only remaining use.
* lisp/emacs-lisp/cl-macs.el (cl--gensym-counter): Initialize to 0.
doc/misc/cl.texi
lisp/emacs-lisp/cl-lib.el
lisp/emacs-lisp/cl-macs.el