From a3a8a7da5be16ccb572c1ff97194cc105bf940eb Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 9 Feb 2014 21:55:53 -0800 Subject: [PATCH] * fns.c (Fmaphash): Say what `maphash' returns, since it may be unintuitive. Fixes: debbugs:15824 --- src/ChangeLog | 5 +++++ src/fns.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index a0b7c449b95..95e3056f035 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2014-02-10 Lars Ingebrigtsen + + * fns.c (Fmaphash): Say what `maphash' returns, since it may be + unintuitive (bug#15824). + 2014-02-10 Dmitry Antipov * cmds.c (Fself_insert_command): Respect the width of EMACS_INT diff --git a/src/fns.c b/src/fns.c index bc5331358a4..eb69ce12816 100644 --- a/src/fns.c +++ b/src/fns.c @@ -4508,7 +4508,8 @@ DEFUN ("remhash", Fremhash, Sremhash, 2, 2, 0, DEFUN ("maphash", Fmaphash, Smaphash, 2, 2, 0, doc: /* Call FUNCTION for all entries in hash table TABLE. -FUNCTION is called with two arguments, KEY and VALUE. */) +FUNCTION is called with two arguments, KEY and VALUE. +`maphash' always returns nil. */) (Lisp_Object function, Lisp_Object table) { struct Lisp_Hash_Table *h = check_hash_table (table); -- 2.39.2