Temporary Modified Environment during External Process Call from Emacs
问题 Is there a convenient and functional ( with-... -like) way of temporary modifying environment variables when using shell-comand or start-process ? Thanks in advance, Per 回答1: server-with-environment looks promising. server-with-environment is a Lisp macro in `server.el'. (server-with-environment ENV VARS &rest BODY) Evaluate BODY with environment variables VARS set to those in ENV. The environment variables are then restored to their previous values. VARS should be a list of strings. ENV