"I was even hung by the locks over a yawning chasm, to which I could perceive no bottom, and then—not till then did I repeat the tremendous prayer!"

Hogg may have been thinking of the end of Zofloya (1806) by Charlotte Dacre when he wrote these lines. Having rescued the morally bankrupt Victoria from the clutches of the banditti, her servant Zofloya magics her to “a dizzying precipice, that made the senses stagger”. He holds her over this “bottomless abyss” until she pledges herself to him. Upon receiving her vow that she is his, he reveals himself to be Satan and casts her headlong into the chasm. (See also note for p. 141.)