]> code.delx.au - gnu-emacs/blobdiff - doc/lispref/hash.texi
Proper help support for EIEIO classes and methods.
[gnu-emacs] / doc / lispref / hash.texi
index 1aa6004b3a66eb91753a39337284126eb146f93e..5d0d6b6c89e2829ca5667a82a49f14d4c115668b 100644 (file)
@@ -1,8 +1,8 @@
 @c -*-texinfo-*-
 @c This is part of the GNU Emacs Lisp Reference Manual.
-@c Copyright (C) 1999, 2001-2012 Free Software Foundation, Inc.
+@c Copyright (C) 1999, 2001-2014 Free Software Foundation, Inc.
 @c See the file elisp.texi for copying conditions.
-@node Hash Tables, Symbols, Sequences Arrays Vectors, Top
+@node Hash Tables
 @chapter Hash Tables
 @cindex hash tables
 @cindex lookup tables
@@ -293,7 +293,7 @@ compared case-insensitively.
 
 @example
 (defun case-fold-string= (a b)
-  (compare-strings a nil nil b nil nil t))
+  (eq t (compare-strings a nil nil b nil nil t)))
 (defun case-fold-string-hash (a)
   (sxhash (upcase a)))
 
@@ -353,3 +353,14 @@ This returns the rehash threshold of @var{table}.
 @defun hash-table-size table
 This returns the current nominal size of @var{table}.
 @end defun
+
+The following two functions are provided by the @file{subr-x} library.
+To use them, you need to load this library first.
+
+@defun hash-table-keys hash-table
+This returns a list of keys in @var{hash-table}.
+@end defun
+
+@defun hash-table-values hash-table
+This returns a list of values in @var{hash-table}.
+@end defun