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
This commit is contained in:
Lin Jian
2023-08-25 10:22:30 +00:00
committed by Anderson Torres
parent 665651c736
commit 26e8da26b4
+1 -1
View File
@@ -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")