Well, in older D&D, much like newer D&D, you detected traps pretty much automatically. An elf in the party meant you had an automatic chance regardless of your speed. IIRC, the best chances were about 50/50, so, if you brought two elves with you, then you pretty much get all the secret doors...