nixpkgs/pkgs
Daniel Nagy 4489718d8f
emacsWrapper: preload autoloads
This commits changes the Emacs wrapper, in order to preload all autoload
definitions when built with additional packages. The list of all
definitions is generated at build-time. Packages do not need to
be (require)d for them to work.

Before this change, a code like

```sh
nix-shell -I "nixpkgs=$PWD" -p "emacs.pkgs.withPackages(e:[e.magit])" \
          --run "emacs -Q -nw -f magit"
```

will fail with the message `Symbol’s function definition is void: magit`

After the change, the same code above will open Emacs with magit
enabled.

A slightly longer startup time of ~10ms was detected in local, informal
experiments.

More information on autoloading:
https://www.gnu.org/software/emacs/manual/html_node/eintr/Autoload.html
2022-04-17 14:36:24 +02:00
..
applications Merge pull request #169035 from bryanasdev000/popeye-up-0100 2022-04-17 11:46:56 +01:00
build-support emacsWrapper: preload autoloads 2022-04-17 14:36:24 +02:00
common-updater
data yaru-theme: unstable-2022-04-07 -> 22.04.4 2022-04-16 14:03:16 +02:00
desktops gnome.ghex: 42.0 -> 42.1 2022-04-17 12:33:04 +02:00
development python310Packages.jupyterlab: 3.3.3 -> 3.3.4 (#168906) 2022-04-17 12:40:52 +02:00
games Merge pull request #166865 from malob/treewide-mainProgram 2022-04-15 09:28:00 +01:00
misc maintainers: add builditluc 2022-04-17 12:28:34 +02:00
os-specific Merge pull request #162970 from r-ryantm/auto-update/mbpfan 2022-04-17 12:15:39 +01:00
pkgs-lib
servers Merge pull request #166958 from heph2/submit/gmid 2022-04-17 01:15:55 +02:00
shells Merge pull request #166865 from malob/treewide-mainProgram 2022-04-15 09:28:00 +01:00
stdenv pkgs/stdenv/linux: add powerpc64le bootstrap-files 2022-04-11 18:35:44 -07:00
test
tools mongodb-compass: 1.31.1 -> 1.31.2 2022-04-17 07:08:22 -03:00
top-level nearcore: init at 1.25.0 (#168635) 2022-04-17 12:10:44 +02:00