aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2006-07-08 18:08:40 +0000
committerEli Zaretskii2006-07-08 18:08:40 +0000
commitd550765cb614b4c91c3048b85bd6217d7f26d300 (patch)
tree57a66759f688d3fc2f53a64aed3dbddb488e4483
parentcdbd783c68ffbaf6c1c6df0e022a1e8058062d69 (diff)
downloademacs-d550765cb614b4c91c3048b85bd6217d7f26d300.tar.gz
emacs-d550765cb614b4c91c3048b85bd6217d7f26d300.zip
(Creating Hash, Hash Access, Defining Hash, Other Hash): Remove @tindex.
-rw-r--r--lispref/hash.texi17
1 files changed, 0 insertions, 17 deletions
diff --git a/lispref/hash.texi b/lispref/hash.texi
index 66420476d42..1913905af8d 100644
--- a/lispref/hash.texi
+++ b/lispref/hash.texi
@@ -59,7 +59,6 @@ of object and are used only for recording interned symbols
59 The principal function for creating a hash table is 59 The principal function for creating a hash table is
60@code{make-hash-table}. 60@code{make-hash-table}.
61 61
62@tindex make-hash-table
63@defun make-hash-table &rest keyword-args 62@defun make-hash-table &rest keyword-args
64This function creates a new hash table according to the specified 63This function creates a new hash table according to the specified
65arguments. The arguments should consist of alternating keywords 64arguments. The arguments should consist of alternating keywords
@@ -155,7 +154,6 @@ of the nominal size. The default for @var{threshold} is 0.8.
155@end table 154@end table
156@end defun 155@end defun
157 156
158@tindex makehash
159@defun makehash &optional test 157@defun makehash &optional test
160This is equivalent to @code{make-hash-table}, but with a different style 158This is equivalent to @code{make-hash-table}, but with a different style
161argument list. The argument @var{test} specifies the method 159argument list. The argument @var{test} specifies the method
@@ -172,21 +170,18 @@ associations in a hash table. In general, any Lisp object can be used
172as a hash key, unless the comparison method imposes limits. Any Lisp 170as a hash key, unless the comparison method imposes limits. Any Lisp
173object can also be used as the value. 171object can also be used as the value.
174 172
175@tindex gethash
176@defun gethash key table &optional default 173@defun gethash key table &optional default
177This function looks up @var{key} in @var{table}, and returns its 174This function looks up @var{key} in @var{table}, and returns its
178associated @var{value}---or @var{default}, if @var{key} has no 175associated @var{value}---or @var{default}, if @var{key} has no
179association in @var{table}. 176association in @var{table}.
180@end defun 177@end defun
181 178
182@tindex puthash
183@defun puthash key value table 179@defun puthash key value table
184This function enters an association for @var{key} in @var{table}, with 180This function enters an association for @var{key} in @var{table}, with
185value @var{value}. If @var{key} already has an association in 181value @var{value}. If @var{key} already has an association in
186@var{table}, @var{value} replaces the old associated value. 182@var{table}, @var{value} replaces the old associated value.
187@end defun 183@end defun
188 184
189@tindex remhash
190@defun remhash key table 185@defun remhash key table
191This function removes the association for @var{key} from @var{table}, if 186This function removes the association for @var{key} from @var{table}, if
192there is one. If @var{key} has no association, @code{remhash} does 187there is one. If @var{key} has no association, @code{remhash} does
@@ -197,7 +192,6 @@ non-@code{nil} if it actually removed an association and @code{nil}
197otherwise. In Emacs Lisp, @code{remhash} always returns @code{nil}. 192otherwise. In Emacs Lisp, @code{remhash} always returns @code{nil}.
198@end defun 193@end defun
199 194
200@tindex clrhash
201@defun clrhash table 195@defun clrhash table
202This function removes all the associations from hash table @var{table}, 196This function removes all the associations from hash table @var{table},
203so that it becomes empty. This is also called @dfn{clearing} the hash 197so that it becomes empty. This is also called @dfn{clearing} the hash
@@ -207,7 +201,6 @@ table.
207@var{table}. In Emacs Lisp, it returns @code{nil}. 201@var{table}. In Emacs Lisp, it returns @code{nil}.
208@end defun 202@end defun
209 203
210@tindex maphash
211@defun maphash function table 204@defun maphash function table
212@anchor{Definition of maphash} 205@anchor{Definition of maphash}
213This function calls @var{function} once for each of the associations in 206This function calls @var{function} once for each of the associations in
@@ -235,7 +228,6 @@ other nearby slots, to see if it has found the key being sought.
235function to compute the hash code from a key, and a function to compare 228function to compute the hash code from a key, and a function to compare
236two keys directly. 229two keys directly.
237 230
238@tindex define-hash-table-test
239@defun define-hash-table-test name test-fn hash-fn 231@defun define-hash-table-test name test-fn hash-fn
240This function defines a new hash table test, named @var{name}. 232This function defines a new hash table test, named @var{name}.
241 233
@@ -257,7 +249,6 @@ under the property @code{hash-table-test}; the property value's form is
257@code{(@var{test-fn} @var{hash-fn})}. 249@code{(@var{test-fn} @var{hash-fn})}.
258@end defun 250@end defun
259 251
260@tindex sxhash
261@defun sxhash obj 252@defun sxhash obj
262This function returns a hash code for Lisp object @var{obj}. 253This function returns a hash code for Lisp object @var{obj}.
263This is an integer which reflects the contents of @var{obj} 254This is an integer which reflects the contents of @var{obj}
@@ -303,46 +294,38 @@ and equal-looking objects are considered the same key.
303 294
304 Here are some other functions for working with hash tables. 295 Here are some other functions for working with hash tables.
305 296
306@tindex hash-table-p
307@defun hash-table-p table 297@defun hash-table-p table
308This returns non-@code{nil} if @var{table} is a hash table object. 298This returns non-@code{nil} if @var{table} is a hash table object.
309@end defun 299@end defun
310 300
311@tindex copy-hash-table
312@defun copy-hash-table table 301@defun copy-hash-table table
313This function creates and returns a copy of @var{table}. Only the table 302This function creates and returns a copy of @var{table}. Only the table
314itself is copied---the keys and values are shared. 303itself is copied---the keys and values are shared.
315@end defun 304@end defun
316 305
317@tindex hash-table-count
318@defun hash-table-count table 306@defun hash-table-count table
319This function returns the actual number of entries in @var{table}. 307This function returns the actual number of entries in @var{table}.
320@end defun 308@end defun
321 309
322@tindex hash-table-test
323@defun hash-table-test table 310@defun hash-table-test table
324This returns the @var{test} value that was given when @var{table} was 311This returns the @var{test} value that was given when @var{table} was
325created, to specify how to hash and compare keys. See 312created, to specify how to hash and compare keys. See
326@code{make-hash-table} (@pxref{Creating Hash}). 313@code{make-hash-table} (@pxref{Creating Hash}).
327@end defun 314@end defun
328 315
329@tindex hash-table-weakness
330@defun hash-table-weakness table 316@defun hash-table-weakness table
331This function returns the @var{weak} value that was specified for hash 317This function returns the @var{weak} value that was specified for hash
332table @var{table}. 318table @var{table}.
333@end defun 319@end defun
334 320
335@tindex hash-table-rehash-size
336@defun hash-table-rehash-size table 321@defun hash-table-rehash-size table
337This returns the rehash size of @var{table}. 322This returns the rehash size of @var{table}.
338@end defun 323@end defun
339 324
340@tindex hash-table-rehash-threshold
341@defun hash-table-rehash-threshold table 325@defun hash-table-rehash-threshold table
342This returns the rehash threshold of @var{table}. 326This returns the rehash threshold of @var{table}.
343@end defun 327@end defun
344 328
345@tindex hash-table-size
346@defun hash-table-size table 329@defun hash-table-size table
347This returns the current nominal size of @var{table}. 330This returns the current nominal size of @var{table}.
348@end defun 331@end defun