aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/lispref/ChangeLog4
-rw-r--r--doc/lispref/hash.texi11
-rw-r--r--etc/NEWS3
3 files changed, 18 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
diff --git a/etc/NEWS b/etc/NEWS
index 374f313733d..9e694fbbdd0 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -949,8 +949,11 @@ frame.
949** New macro with-eval-after-load. Like eval-after-load, but better behaved. 949** New macro with-eval-after-load. Like eval-after-load, but better behaved.
950 950
951** New library subr-x.el for misc helper functions 951** New library subr-x.el for misc helper functions
952+++
952*** `hash-table-keys' 953*** `hash-table-keys'
954+++
953*** `hash-table-values' 955*** `hash-table-values'
956
954*** `string-blank-p` 957*** `string-blank-p`
955*** `string-empty-p` 958*** `string-empty-p`
956*** `string-join` 959*** `string-join`