From: Lars Ingebrigtsen Date: Mon, 10 Feb 2014 05:55:53 +0000 (-0800) Subject: * fns.c (Fmaphash): Say what `maphash' returns, since it may be unintuitive. X-Git-Url: http://git.hcoop.net/bpt/emacs.git/commitdiff_plain/a3a8a7da5be16ccb572c1ff97194cc105bf940eb?hp=3bd1d8a8e0a78657290b515ce1e42db404bbf7b9 * fns.c (Fmaphash): Say what `maphash' returns, since it may be unintuitive. Fixes: debbugs:15824 --- diff --git a/src/ChangeLog b/src/ChangeLog index a0b7c449b9..95e3056f03 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 bc5331358a..eb69ce1281 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);