From bb962da29aed412d70ac4b0b02bb343eb133dc88 Mon Sep 17 00:00:00 2001 From: Xue Fuqiao Date: Mon, 23 Dec 2013 07:19:42 +0800 Subject: [PATCH] Document `hash-table-keys and `hash-table-values'. * doc/lispref/hash.texi (Other Hash): Document `hash-table-keys and `hash-table-values'. --- doc/lispref/ChangeLog | 4 ++++ doc/lispref/hash.texi | 11 +++++++++++ etc/NEWS | 3 +++ 3 files changed, 18 insertions(+) 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` -- 2.39.2