1506ab49e3
This patch does two things: 1. making user profiles preferred over system profiles 2. putting sub dirs of one profile to the right place - before this patch, they are appended to the end of load-path - after this patch, they are inserted right after the profile Example value of load-path before this patch: /run/current-system/sw/share/emacs/site-lisp/ /etc/profiles/per-user/user/share/emacs/site-lisp/ /nix/store/hash1-emacs-packages-deps/share/emacs/site-lisp /nix/store/hash1-emacs-packages-deps/share/emacs/site-lisp/elpa /nix/store/hash1-emacs-packages-deps/share/emacs/site-lisp/elpa/wgrep-20230203.1214 /nix/store/hash2-emacs-29.1-rc1/share/emacs/29.1/site-lisp /nix/store/hash2-emacs-29.1-rc1/share/emacs/site-lisp /nix/store/hash2-emacs-29.1-rc1/share/emacs/29.1/lisp /nix/store/hash2-emacs-29.1-rc1/share/emacs/29.1/lisp/vc ... /etc/profiles/per-user/user/share/emacs/site-lisp/elpa /etc/profiles/per-user/user/share/emacs/site-lisp/elpa/jinx-20230730.1200 /run/current-system/sw/share/emacs/site-lisp/elpa /run/current-system/sw/share/emacs/site-lisp/elpa/repology-1.2.3 after this patch: /etc/profiles/per-user/user/share/emacs/site-lisp /etc/profiles/per-user/user/share/emacs/site-lisp/elpa /etc/profiles/per-user/user/share/emacs/site-lisp/elpa/jinx-20230730.1200 /run/current-system/sw/share/emacs/site-lisp /run/current-system/sw/share/emacs/site-lisp/elpa /run/current-system/sw/share/emacs/site-lisp/elpa/repology-1.2.3 /nix/store/hash1-emacs-packages-deps/share/emacs/site-lisp /nix/store/hash1-emacs-packages-deps/share/emacs/site-lisp/elpa /nix/store/hash1-emacs-packages-deps/share/emacs/site-lisp/elpa/wgrep-20230203.1214 /nix/store/hash2-emacs-29.1-rc1/share/emacs/29.1/site-lisp /nix/store/hash2-emacs-29.1-rc1/share/emacs/site-lisp /nix/store/hash2-emacs-29.1-rc1/share/emacs/29.1/lisp /nix/store/hash2-emacs-29.1-rc1/share/emacs/29.1/lisp/vc ... |
||
---|---|---|
.. | ||
accessibility | ||
audio | ||
backup | ||
blockchains | ||
display-managers | ||
editors | ||
emulators | ||
file-managers | ||
finance | ||
gis | ||
graphics | ||
kde | ||
logging | ||
maui | ||
misc | ||
networking | ||
office | ||
plasma-mobile | ||
printing/pappl | ||
qubes/qubes-core-vchan-xen | ||
radio | ||
science | ||
search | ||
system | ||
terminal-emulators | ||
version-management | ||
video | ||
virtualization | ||
window-managers |