title: How can I set environment variables to a buffer-local scope in emacs
body: <p>In Emacs, I want to vary the values of my environment variables in different buffers.</p>
  
  <p>My emacs environment depends on environment variables (flymake, compile etc), however I want to be able to be able to have multiple projects open at once in one emacs session but these projects might have conflicting environments.</p>
  
  <p>For example something like different INCLUDE_PATH environment variables for flymake.</p>