comparison src/fns.c @ 29991:fff5fd809d11

(Fputhash): Return `value' rather than nil.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 03 Jul 2000 06:58:47 +0000
parents 6fe8f444b6a3
children d9c85e2f07ba
comparison
equal deleted inserted replaced
29990:98af0f021739 29991:fff5fd809d11
4712 if (i >= 0) 4712 if (i >= 0)
4713 HASH_VALUE (h, i) = value; 4713 HASH_VALUE (h, i) = value;
4714 else 4714 else
4715 hash_put (h, key, value, hash); 4715 hash_put (h, key, value, hash);
4716 4716
4717 return Qnil; 4717 return value;
4718 } 4718 }
4719 4719
4720 4720
4721 DEFUN ("remhash", Fremhash, Sremhash, 2, 2, 0, 4721 DEFUN ("remhash", Fremhash, Sremhash, 2, 2, 0,
4722 "Remove KEY from TABLE.") 4722 "Remove KEY from TABLE.")