glancing toward the sound , he perceived that what he had thought to be merely a heap of rumpled bedclothes in fact contained a body ; the elaborately passementeried tassel of a nightcap trailed across the pillow .