In various editions of Dungeons and Dragons, elves have the ability to "trance" rather than sleeping normally. Does this elven trance have a source from fiction? I know that almost everything in D&D that I've run into so far has a source or inspiration from older works, but I'm not aware of any works that mention elves replacing sleep with a trance.
Does the concept of elves "trancing" rather than sleeping come from an older work, or was that idea made up from whole cloth by D&D designers?