aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorXue Fuqiao2013-12-23 07:19:42 +0800
committerXue Fuqiao2013-12-23 07:19:42 +0800
commitbb962da29aed412d70ac4b0b02bb343eb133dc88 (patch)
tree88db338ffe6f6942ed444006099679034635968c /doc
parent91dedc43f25e55b940d333ac9b341945d6b76132 (diff)
downloademacs-bb962da29aed412d70ac4b0b02bb343eb133dc88.tar.gz
emacs-bb962da29aed412d70ac4b0b02bb343eb133dc88.zip
Document `hash-table-keys and `hash-table-values'.
* doc/lispref/hash.texi (Other Hash): Document `hash-table-keys and `hash-table-values'.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog4
-rw-r--r--doc/lispref/hash.texi11
2 files changed, 15 insertions, 0 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 508eb2718a4..96fdb94ca20 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,7 @@
12013-12-22 Xue Fuqiao <xfq.free@gmail.com>
2
3 * hash.texi (Other Hash): Document `hash-table-keys and `hash-table-values'.
4
12013-12-22 Eli Zaretskii <eliz@gnu.org> 52013-12-22 Eli Zaretskii <eliz@gnu.org>
2 6
3 * nonascii.texi (Character Properties): NAME or OLD-NAME 7 * nonascii.texi (Character Properties): NAME or OLD-NAME
diff --git a/doc/lispref/hash.texi b/doc/lispref/hash.texi
index 655f31ab114..56037acaf75 100644
--- a/doc/lispref/hash.texi
+++ b/doc/lispref/hash.texi
@@ -353,3 +353,14 @@ This returns the rehash threshold of @var{table}.
353@defun hash-table-size table 353@defun hash-table-size table
354This returns the current nominal size of @var{table}. 354This returns the current nominal size of @var{table}.
355@end defun 355@end defun
356
357The following two functions are provided by the @file{subr-x} library.
358To use them, you need to load this library first.
359
360@defun hash-table-keys hash-table
361This returns a list of keys in @var{hash-table}.
362@end defun
363
364@defun hash-table-values hash-table
365This returns a list of values in @var{hash-table}.
366@end defun