emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r116387: * fns.c (Fmaphash): Say what `maphash' retu


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] trunk r116387: * fns.c (Fmaphash): Say what `maphash' returns, since it may be unintuitive.
Date: Mon, 10 Feb 2014 05:57:07 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 116387
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/15824
committer: Lars Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Sun 2014-02-09 21:55:53 -0800
message:
  * fns.c (Fmaphash): Say what `maphash' returns, since it may be unintuitive.
modified:
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/fns.c                      fns.c-20091113204419-o5vbwnq5f7feedwu-203
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2014-02-10 05:41:42 +0000
+++ b/src/ChangeLog     2014-02-10 05:55:53 +0000
@@ -1,3 +1,8 @@
+2014-02-10  Lars Ingebrigtsen  <address@hidden>
+
+       * fns.c (Fmaphash): Say what `maphash' returns, since it may be
+       unintuitive (bug#15824).
+
 2014-02-10  Dmitry Antipov  <address@hidden>
 
        * cmds.c (Fself_insert_command): Respect the width of EMACS_INT

=== modified file 'src/fns.c'
--- a/src/fns.c 2014-01-03 06:47:27 +0000
+++ b/src/fns.c 2014-02-10 05:55:53 +0000
@@ -4508,7 +4508,8 @@
 
 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);


reply via email to

[Prev in Thread] Current Thread [Next in Thread]