diff options
author | Thien-Thi Nguyen <ttn@gnuvola.org> | 2008-01-26 16:59:43 +0000 |
---|---|---|
committer | Thien-Thi Nguyen <ttn@gnuvola.org> | 2008-01-26 16:59:43 +0000 |
commit | bacaf44cd91c3cf9c18d1f50a0a81ea28abf6cfe (patch) | |
tree | f27d6d79eed19c5bf4ce90f4d78428ad54c4e446 /src | |
parent | 10cb843444a92ab01a1d0fe0b78461b428216578 (diff) | |
download | emacs-bacaf44cd91c3cf9c18d1f50a0a81ea28abf6cfe.tar.gz |
(Fclrhash): Return TABLE.
Diffstat (limited to 'src')
-rw-r--r-- | src/fns.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fns.c b/src/fns.c index 3f3cdccc36d..5df8be238df 100644 --- 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; } |