compatability with emacs < 24: forgot to add the mode to derived