1 |
@c -*-texinfo-*- |
@c -*-texinfo-*- |
2 |
@c This is part of the GNU Emacs Lisp Reference Manual. |
@c This is part of the GNU Emacs Lisp Reference Manual. |
3 |
@c Copyright (C) 1999 Free Software Foundation, Inc. |
@c Copyright (C) 1999, 2003 Free Software Foundation, Inc. |
4 |
@c See the file elisp.texi for copying conditions. |
@c See the file elisp.texi for copying conditions. |
5 |
@setfilename ../info/hash |
@setfilename ../info/hash |
6 |
@node Hash Tables, Symbols, Sequences Arrays Vectors, Top |
@node Hash Tables, Symbols, Sequences Arrays Vectors, Top |
96 |
|
|
97 |
The value, @var{weak}, must be one of @code{nil}, @code{key}, |
The value, @var{weak}, must be one of @code{nil}, @code{key}, |
98 |
@code{value}, @code{key-or-value}, @code{key-and-value}, or @code{t} |
@code{value}, @code{key-or-value}, @code{key-and-value}, or @code{t} |
99 |
which is an alias for @code{key-and-value}. If @var{weak} is @code{key} |
which is an alias for @code{key-or-value}. If @var{weak} is @code{key} |
100 |
then the hash table does not prevent its keys from being collected as |
then the hash table does not prevent its keys from being collected as |
101 |
garbage (if they are not referenced anywhere else); if a particular key |
garbage (if they are not referenced anywhere else); if a particular key |
102 |
does get collected, the corresponding association is removed from the |
does get collected, the corresponding association is removed from the |