Smart command for compiling files according to major-mode.
Created attachment 106950 [details] ebuild for app-emacs/mode-compile
Created attachment 106952 [details] site-lisp configuration file
Added (with minimal changes) to the Emacs Overlay for testing: http://overlays.gentoo.org/proj/emacs/ Thank you for submitting the ebuild.
Added to CVS.