From: Xue Fuqiao Date: Sun, 22 Dec 2013 23:19:42 +0000 (+0800) Subject: Document `hash-table-keys and `hash-table-values'. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~237 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bb962da29aed412d70ac4b0b02bb343eb133dc88;p=emacs.git Document `hash-table-keys and `hash-table-values'. * doc/lispref/hash.texi (Other Hash): Document `hash-table-keys and `hash-table-values'. --- 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 @@ +2013-12-22 Xue Fuqiao + + * hash.texi (Other Hash): Document `hash-table-keys and `hash-table-values'. + 2013-12-22 Eli Zaretskii * 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}. @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 diff --git a/etc/NEWS b/etc/NEWS index 374f313733d..9e694fbbdd0 100644 --- 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`