New answers tagged

0

The answer is related to Doom Emacs. I should have included in my original question that I was using a Doom config. The reason my initial attempt at putting a debug-on-variable-change in my init.el didn't work was because I was putting it in .doom.d/init.el which is loaded late in the initialization process. After reading the Doom docs about the ...


1

The C function set_initial_environment in callproc.c populates process-environment and initial-environment together. Subsequent calls to setenv are the usual way of modifying process-environment (but noting that it's very common to be doing that in only a temporary dynamic scope). Obviously it's just a list though, so other manipulations are also entirely ...


0

For future searchers: I used this to solve the problem: https://github.com/arouanet/path-helper It is a small elisp module that mimics the behavior of the /usr/libexec/path_helper utility available on MacOS. I added these lines to my .emacs ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; set path correctly on MacOS, based on /etc/...


Top 50 recent answers are included