Is there a way to make buffer-local overrides to
exec-path (whose value is normally initialized with the
PATH environment variable)?
(make-variable-buffer-local 'exec-path) and local overrides seem to work fine after that, but are there any harmful side effects? In any case, this is non-standard, so is there an officially blessed way to do it?
One reason for a buffer-local path would be to use project-specific versions of tools in Node.js and other projects.