Only Emacs 23 returns t, the others return nil. Fixed in the trunk and the v5-10 branch.