Steve Gardham pointed out to me that the song "Oh Jerusalem" uses the same tune as the refrain of "Ka-Foozle-Um". The original sheet music for the latter can be found online in the Lester S. Levy Collection; search for "Ka-foozle-um", including the hyphens.
Jack Campin has just added (in a thread on "Ka-foozle-um"): The tune is derived from "Katie Bairdie", which dates back to at least the Skene MS of the early 17th century (as "Kette Bairdie").
Katie Beardie in the DigiTrad, with (for once) extensive notes, but sadly, a broken tune link.