Derive slim-mode from prog-mode for Emacs >= 24