nixpkgs/pkgs/applications/editors/emacs
Alyssa Ross 23d4bfb666
emacsWithPackages: don't tell sub-Emacs about pkgs
If I'm running an Emacs executable from emacsWithPackages as my main
programming environment, and I'm hacking on Emacs, or the Emacs
packaging in Nixpkgs, or whatever, I don't want the Emacs packages
from the wrapper to show up in the load path of that child Emacs.  It
results in differing behaviour depending on whether the child Emacs is
run from Emacs or from, for example, an external terminal emulator,
which is very surprising.

To avoid this, pass another environment variable containing the
wrapper site-lisp path, and use that value to remove the corresponding
entry in EMACSLOADPATH, so it won't be propagated to child Emacsen.
2020-12-10 22:52:31 +00:00
..
26.nix emacs26: Add back at version 26.3 2020-08-21 00:58:17 +02:00
27.nix emacs: Factor out expression to a generic build 2020-08-21 00:54:00 +02:00
at-fdcwd.patch emacs: readd version 25 2018-05-28 13:35:05 -04:00
clean-env-26.patch emacs26: Add back at version 26.3 2020-08-21 00:58:17 +02:00
clean-env.patch emacs: 26.3 -> 27.1 2020-08-11 13:41:44 +02:00
generic.nix Merge pull request #103913 from catern/copysrc 2020-11-22 16:37:40 +00:00
macport.nix emacs-mac: json support 2020-09-08 09:56:12 +01:00
site-start.el emacsWithPackages: don't tell sub-Emacs about pkgs 2020-12-10 22:52:31 +00:00
tramp-detect-wrapped-gvfsd-26.patch emacs26: Add back at version 26.3 2020-08-21 00:58:17 +02:00
tramp-detect-wrapped-gvfsd.patch emacs: 26.3 -> 27.1 2020-08-11 13:41:44 +02:00