]> git.eshelyaron.com Git - emacs.git/commitdiff
Document `hash-table-keys and `hash-table-values'.
authorXue Fuqiao <xfq.free@gmail.com>
Sun, 22 Dec 2013 23:19:42 +0000 (07:19 +0800)
committerXue Fuqiao <xfq.free@gmail.com>
Sun, 22 Dec 2013 23:19:42 +0000 (07:19 +0800)
* doc/lispref/hash.texi (Other Hash): Document `hash-table-keys and
`hash-table-values'.

doc/lispref/ChangeLog
doc/lispref/hash.texi
etc/NEWS

index 508eb2718a409fa3a775af3be5f276adf8af3415..96fdb94ca20e656ace501140665875975c042f26 100644 (file)
@@ -1,3 +1,7 @@
+2013-12-22  Xue Fuqiao  <xfq.free@gmail.com>
+
+       * hash.texi (Other Hash): Document `hash-table-keys and `hash-table-values'.
+
 2013-12-22  Eli Zaretskii  <eliz@gnu.org>
 
        * nonascii.texi (Character Properties): NAME or OLD-NAME
index 655f31ab11447b31dc3fe682d3d2fc75cc35e1bb..56037acaf759988a1df545af0bfb3344ba195efd 100644 (file)
@@ -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
index 374f313733da24db1d905eace266b3cc6bcc9220..9e694fbbdd06a4b9ce8e34333c6ec0d9c065c61f 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -949,8 +949,11 @@ frame.
 ** New macro with-eval-after-load.  Like eval-after-load, but better behaved.
 
 ** New library subr-x.el for misc helper functions
++++
 *** `hash-table-keys'
++++
 *** `hash-table-values'
+
 *** `string-blank-p`
 *** `string-empty-p`
 *** `string-join`