]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fclrhash): Return TABLE.
authorThien-Thi Nguyen <ttn@gnuvola.org>
Sat, 26 Jan 2008 17:00:52 +0000 (17:00 +0000)
committerThien-Thi Nguyen <ttn@gnuvola.org>
Sat, 26 Jan 2008 17:00:52 +0000 (17:00 +0000)
src/ChangeLog
src/fns.c

index 1c4b08d24d7e5ba78cb35cb6dfb4fb2623c116f1..eac48d83fbbb367f3699b18de7f00db5507ecd30 100644 (file)
@@ -1,3 +1,7 @@
+2008-01-26  Thien-Thi Nguyen  <ttn@gnuvola.org>
+
+       * fns.c (Fclrhash): Return TABLE.
+
 2008-01-21  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 
        * macterm.c (x_scroll_bar_create): Initialize bar->redraw_needed_p.
index 3f3cdccc36dcc99fa3a2a7f37c235038ed668c73..5df8be238dff0c3a449cda60a2a48a91daff661f 100644 (file)
--- a/src/fns.c
+++ b/src/fns.c
@@ -5406,12 +5406,13 @@ DEFUN ("hash-table-p", Fhash_table_p, Shash_table_p, 1, 1, 0,
 
 
 DEFUN ("clrhash", Fclrhash, Sclrhash, 1, 1, 0,
-       doc: /* Clear hash table TABLE.  */)
+       doc: /* Clear hash table TABLE and return it.  */)
      (table)
      Lisp_Object table;
 {
   hash_clear (check_hash_table (table));
-  return Qnil;
+  /* Be compatible with XEmacs.  */
+  return table;
 }