aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLars Ingebrigtsen2014-02-09 21:55:53 -0800
committerLars Ingebrigtsen2014-02-09 21:55:53 -0800
commita3a8a7da5be16ccb572c1ff97194cc105bf940eb (patch)
treefa2cccc3850041216efcc25982224d912e1781a9 /src
parent3bd1d8a8e0a78657290b515ce1e42db404bbf7b9 (diff)
downloademacs-a3a8a7da5be16ccb572c1ff97194cc105bf940eb.tar.gz
emacs-a3a8a7da5be16ccb572c1ff97194cc105bf940eb.zip
* fns.c (Fmaphash): Say what `maphash' returns, since it may be unintuitive.
Fixes: debbugs:15824
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/fns.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index a0b7c449b95..95e3056f035 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2
3 * fns.c (Fmaphash): Say what `maphash' returns, since it may be
4 unintuitive (bug#15824).
5
12014-02-10 Dmitry Antipov <dmantipov@yandex.ru> 62014-02-10 Dmitry Antipov <dmantipov@yandex.ru>
2 7
3 * cmds.c (Fself_insert_command): Respect the width of EMACS_INT 8 * 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,
4508 4508
4509DEFUN ("maphash", Fmaphash, Smaphash, 2, 2, 0, 4509DEFUN ("maphash", Fmaphash, Smaphash, 2, 2, 0,
4510 doc: /* Call FUNCTION for all entries in hash table TABLE. 4510 doc: /* Call FUNCTION for all entries in hash table TABLE.
4511FUNCTION is called with two arguments, KEY and VALUE. */) 4511FUNCTION is called with two arguments, KEY and VALUE.
4512`maphash' always returns nil. */)
4512 (Lisp_Object function, Lisp_Object table) 4513 (Lisp_Object function, Lisp_Object table)
4513{ 4514{
4514 struct Lisp_Hash_Table *h = check_hash_table (table); 4515 struct Lisp_Hash_Table *h = check_hash_table (table);