Tad Fisher
a7cb8e36ac
emacs: Add comp-eln-load-path infrastructure
2020-12-16 19:45:07 +01:00
Robert Helgesson
bf486f784d
emacs: fix setup-hook
...
This change fixes byte compilation of, e.g., Helm without breaking
builds using, e.g., `trivialBuild`.
See https://github.com/NixOS/nixpkgs/pull/82604#issuecomment-607201755
2020-04-02 23:04:08 +02:00
Robert Helgesson
2d2de743d0
emacs: improve setup hook
...
- Add packages installed in a sub-directory of site-lisp, such as
mu4e, to EMACSLOADPATH.
- Add ELPA packages to EMACSLOADPATH.
- Add each package only once to EMACSLOADPATH. Before, each package
would typically be added twice for each transitive dependency
leading to a huge variable for a package having many dependencies.
Fixed #78680
2020-03-14 19:46:28 +01:00
Herwig Hochleitner
42eeca722c
emacs package setup hook: Fix Fix
...
A trailing separator in emacs load paths has semantics
cc @Ericson2314 @adisbladis https://github.com/NixOS/nixpkgs/pull/73287
This partially reverts commit ca782498a9
2019-11-23 19:49:56 +01:00
John Ericson
ca782498a9
emacs package setup hook: Fix
...
1. Make the test more robust
2. EMACSLOADPATH may be initially undefined.
3. did `targetOffset` twice when meant `hostOffset` too
2019-11-08 13:28:59 -05:00
John Ericson
046f091e0d
treewide: Don't use envHook anymore
...
This commits needs a MAJOR audit as I oftentimes just guessed which of
`$hostOffset`, `$targetOffset`, or a fixed offset should be used.
2017-12-30 22:04:22 -05:00
Jan Malakhovski
a444eff3f2
reorganize emacs related files
2015-03-03 05:31:38 +00:00