I'm using emacs for many different projects. For some of them, I need, for example, different entries in
$PATH, or different
$MAKEFLAGS, whatever, you name it...
I thought this would be possible somehow like this in
((c++-mode (c-basic-offset . 4) (tab-width . 4) (eval progn (make-local-variable 'process-environment) (setenv "gna" "gnagna3"))) (c-mode (c-basic-offset . 4) (tab-width . 4)))
Bit with this approach, "gna" is set in all buffers.
What am I missing?