Mercurial > hg > xemacs-beta
diff man/lispref/hash-tables.texi @ 4833:4dd2389173fc
merge
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Sun, 10 Jan 2010 01:06:15 -0600 |
parents | e6dec75ded0e |
children | 71ee43b8a74d |
line wrap: on
line diff
--- a/man/lispref/hash-tables.texi Sun Jan 10 00:49:30 2010 -0600 +++ b/man/lispref/hash-tables.texi Sun Jan 10 01:06:15 2010 -0600 @@ -65,12 +65,15 @@ Hash tables can also be created by the lisp reader using structure syntax, for example: @example -#s(hash-table size 20 data (foo 1 bar 2)) +#s(hash-table :size 20 :data (foo 1 bar 2)) @end example -The structure syntax accepts the same keywords as @code{make-hash-table} -(without the @code{:} character), as well as the additional keyword -@code{data}, which specifies the initial hash table contents. +The structure syntax accepts the same keywords as +@code{make-hash-table}, as well as the additional keyword @code{data}, +which specifies the initial hash table contents. Older versions of +XEmacs required that the keywords not have the initial ``:'' in the +structure syntax, and this version of XEmacs still supports that syntax, +but you cannot mix the two styles within one structure. @defun make-hash-table &key @code{test} @code{size} @code{rehash-size} @code{rehash-threshold} @code{weakness} This function returns a new empty hash table object.