Files
Lin Jian 88accc0c92 emacs: use PATH instead of exec-path to expose wrapped binaries
(info "(elisp) Subprocess Creation") says:

> Generally, you should not modify ‘exec-path’ directly.  Instead,
> ensure that your ‘PATH’ environment variable is set appropriately
> before starting Emacs.  Trying to modify ‘exec-path’ independently
> of ‘PATH’ can lead to confusing results.

One example of "confusing results" can be found in envrc[1].

This patch follows that recommendation of Emacs lisp manual.

In addition, we added tests for PATH and exec-path.

[1]: https://github.com/purcell/envrc/issues/9
2026-09-28 00:20:32 +08:00
..
…