A 200-year-old nightly ritual nearly became history, but campaigners forced local government to drop plans to replace gas-powered lamps in London.