diff options
| author | Lars Ingebrigtsen | 2014-02-09 21:55:53 -0800 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2014-02-09 21:55:53 -0800 |
| commit | a3a8a7da5be16ccb572c1ff97194cc105bf940eb (patch) | |
| tree | fa2cccc3850041216efcc25982224d912e1781a9 /src | |
| parent | 3bd1d8a8e0a78657290b515ce1e42db404bbf7b9 (diff) | |
| download | emacs-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/ChangeLog | 5 | ||||
| -rw-r--r-- | src/fns.c | 3 |
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 @@ | |||
| 1 | 2014-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 | |||
| 1 | 2014-02-10 Dmitry Antipov <dmantipov@yandex.ru> | 6 | 2014-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 |
| @@ -4508,7 +4508,8 @@ DEFUN ("remhash", Fremhash, Sremhash, 2, 2, 0, | |||
| 4508 | 4508 | ||
| 4509 | DEFUN ("maphash", Fmaphash, Smaphash, 2, 2, 0, | 4509 | DEFUN ("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. |
| 4511 | FUNCTION is called with two arguments, KEY and VALUE. */) | 4511 | FUNCTION 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); |