about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2023-08-25 12:01:24 +0000
committerGitHub <noreply@github.com>2023-08-25 12:01:24 +0000
commit8680fe99a1c71d90cd8875da37d57b9f883de725 (patch)
treeb461544206619acd3da5bf200e9b908db941e376 /doc
parent0c973816f71ed2c8d521edb7f9c919f353ef125b (diff)
parente9e72a4b0dd54e4eb8953a2e64448aa37cea87b1 (diff)
downloadnixlib-8680fe99a1c71d90cd8875da37d57b9f883de725.tar
nixlib-8680fe99a1c71d90cd8875da37d57b9f883de725.tar.gz
nixlib-8680fe99a1c71d90cd8875da37d57b9f883de725.tar.bz2
nixlib-8680fe99a1c71d90cd8875da37d57b9f883de725.tar.lz
nixlib-8680fe99a1c71d90cd8875da37d57b9f883de725.tar.xz
nixlib-8680fe99a1c71d90cd8875da37d57b9f883de725.tar.zst
nixlib-8680fe99a1c71d90cd8875da37d57b9f883de725.zip
Merge master into staging-next
Diffstat (limited to 'doc')
-rw-r--r--doc/builders/packages/emacs.section.md6
1 files changed, 1 insertions, 5 deletions
diff --git a/doc/builders/packages/emacs.section.md b/doc/builders/packages/emacs.section.md
index d46f890858f4..c50c7815537d 100644
--- a/doc/builders/packages/emacs.section.md
+++ b/doc/builders/packages/emacs.section.md
@@ -26,10 +26,6 @@ You can install it like any other packages via `nix-env -iA myEmacs`. However, t
 {
   packageOverrides = pkgs: with pkgs; rec {
     myEmacsConfig = writeText "default.el" ''
-      ;; initialize package
-
-      (require 'package)
-      (package-initialize 'noactivate)
       (eval-when-compile
         (require 'use-package))
 
@@ -103,7 +99,7 @@ You can install it like any other packages via `nix-env -iA myEmacs`. However, t
 
 This provides a fairly full Emacs start file. It will load in addition to the user's personal config. You can always disable it by passing `-q` to the Emacs command.
 
-Sometimes `emacs.pkgs.withPackages` is not enough, as this package set has some priorities imposed on packages (with the lowest priority assigned to Melpa Unstable, and the highest for packages manually defined in `pkgs/top-level/emacs-packages.nix`). But you can't control these priorities when some package is installed as a dependency. You can override it on a per-package-basis, providing all the required dependencies manually, but it's tedious and there is always a possibility that an unwanted dependency will sneak in through some other package. To completely override such a package, you can use `overrideScope`.
+Sometimes `emacs.pkgs.withPackages` is not enough, as this package set has some priorities imposed on packages (with the lowest priority assigned to GNU-devel ELPA, and the highest for packages manually defined in `pkgs/applications/editors/emacs/elisp-packages/manual-packages`). But you can't control these priorities when some package is installed as a dependency. You can override it on a per-package-basis, providing all the required dependencies manually, but it's tedious and there is always a possibility that an unwanted dependency will sneak in through some other package. To completely override such a package, you can use `overrideScope`.
 
 ```nix
 overrides = self: super: rec {