diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/misc/cl.texi | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi index d7b3f4a0a68..1f38ca98c62 100644 --- a/doc/misc/cl.texi +++ b/doc/misc/cl.texi | |||
| @@ -2877,14 +2877,8 @@ their names will not conflict with ``real'' variables in the user's | |||
| 2877 | code. | 2877 | code. |
| 2878 | 2878 | ||
| 2879 | (Internally, the variable @code{cl--gensym-counter} holds the counter | 2879 | (Internally, the variable @code{cl--gensym-counter} holds the counter |
| 2880 | used to generate names. It is incremented after each use. In Common | 2880 | used to generate names. It is initialized with zero and incremented |
| 2881 | Lisp this is initialized with 0, but this package initializes it with | 2881 | after each use.) |
| 2882 | a random time-dependent value to avoid trouble when two files that | ||
| 2883 | each used @code{cl-gensym} in their compilation are loaded together. | ||
| 2884 | Uninterned symbols become interned when the compiler writes them out | ||
| 2885 | to a file and the Emacs loader loads them, so their names have to be | ||
| 2886 | treated a bit more carefully than in Common Lisp where uninterned | ||
| 2887 | symbols remain uninterned after loading.) | ||
| 2888 | @end defun | 2882 | @end defun |
| 2889 | 2883 | ||
| 2890 | @defun cl-gentemp &optional x | 2884 | @defun cl-gentemp &optional x |
| @@ -4543,10 +4537,7 @@ example, local @code{special} declarations, which are purely | |||
| 4543 | advisory in Emacs Lisp, do not rigorously obey the scoping rules | 4537 | advisory in Emacs Lisp, do not rigorously obey the scoping rules |
| 4544 | set down in Steele's book. | 4538 | set down in Steele's book. |
| 4545 | 4539 | ||
| 4546 | The variable @code{cl--gensym-counter} starts out with a pseudo-random | 4540 | The variable @code{cl--gensym-counter} starts out with zero. |
| 4547 | value rather than with zero. This is to cope with the fact that | ||
| 4548 | generated symbols become interned when they are written to and | ||
| 4549 | loaded back from a file. | ||
| 4550 | 4541 | ||
| 4551 | The @code{cl-defstruct} facility is compatible, except that structures | 4542 | The @code{cl-defstruct} facility is compatible, except that structures |
| 4552 | are of type @code{:type vector :named} by default rather than some | 4543 | are of type @code{:type vector :named} by default rather than some |