diff options
author | Lin Jian <me@linj.tech> | 2023-08-25 11:19:25 +0800 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-08-25 10:22:30 +0000 |
commit | 26e8da26b4089966dce23f36741dd2be35fbeedc (patch) | |
tree | e4852a377611c6252ea53074e3162310c60a1784 /pkgs/top-level/emacs-packages.nix | |
parent | 665651c7366ba4a6efe6f549170ffddfc80ef688 (diff) | |
download | nixpkgs-26e8da26b4089966dce23f36741dd2be35fbeedc.tar nixpkgs-26e8da26b4089966dce23f36741dd2be35fbeedc.tar.gz nixpkgs-26e8da26b4089966dce23f36741dd2be35fbeedc.tar.bz2 nixpkgs-26e8da26b4089966dce23f36741dd2be35fbeedc.tar.lz nixpkgs-26e8da26b4089966dce23f36741dd2be35fbeedc.tar.xz nixpkgs-26e8da26b4089966dce23f36741dd2be35fbeedc.tar.zst nixpkgs-26e8da26b4089966dce23f36741dd2be35fbeedc.zip |
emacsPackages: update comment about package-directory-list
Since Emacs 27[1], package initialization is done before init.el. So package-directory-list needs to be modified in early-init.el. [1]: https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS.27?id=cae528457cb862dc886a34240c9d4c73035b6659#n227
Diffstat (limited to 'pkgs/top-level/emacs-packages.nix')
-rw-r--r-- | pkgs/top-level/emacs-packages.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/top-level/emacs-packages.nix b/pkgs/top-level/emacs-packages.nix index 609d27a8d8d..2b06fd2e242 100644 --- a/pkgs/top-level/emacs-packages.nix +++ b/pkgs/top-level/emacs-packages.nix @@ -5,7 +5,7 @@ # Recommended: simply use `emacsWithPackages` with the packages you want. # # Alternative: use `emacs`, install everything to a system or user profile -# and then add this at the start your `init.el`: +# and then add this at the start your `early-init.el`: /* ;; optional. use this if you install emacs packages to the system profile (add-to-list 'package-directory-list "/run/current-system/sw/share/emacs/site-lisp/elpa") |