This package provides `schlau-compile' function. It was derived from 'smart-compile'. However, the modifications that exist here, including change in the overall functionality and workflow, are no longer upstreamable and should be considered a completely seprate project. You can associate a particular file with a particular compile function, by editing `schlau-compile-alist'. To use this package, add these lines to your .emacs file: (require 'schlau-compile) Note that it requires emacs 24 or later. https://github.com/flajann2/elisp/blob/master/README.org