histone methyltransferase activity [GO_0042054] - Virtual Fly Brain