about summary refs log tree commit diff
path: root/pkgs/top-level/emacs-packages.nix
diff options
context:
space:
mode:
authorLin Jian <me@linj.tech>2023-08-25 11:13:47 +0800
committerAnderson Torres <torres.anderson.85@protonmail.com>2023-08-25 10:22:30 +0000
commit665651c7366ba4a6efe6f549170ffddfc80ef688 (patch)
tree2a1a89b0366dde2c396b26ac596514e4ee61668f /pkgs/top-level/emacs-packages.nix
parent71a875313402e808cf7c32e82854276c5919d67e (diff)
emacs: remove outdated doc about package initialization
Since Emacs 27[1], there is no need to call package-initialize in the
init file.

[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.nix7
1 files changed, 0 insertions, 7 deletions
diff --git a/pkgs/top-level/emacs-packages.nix b/pkgs/top-level/emacs-packages.nix
index 3f61bc2229d0e..609d27a8d8d6e 100644
--- a/pkgs/top-level/emacs-packages.nix
+++ b/pkgs/top-level/emacs-packages.nix
@@ -7,18 +7,11 @@
 # Alternative: use `emacs`, install everything to a system or user profile
 # and then add this at the start your `init.el`:
 /*
-  (require 'package)
-
-  ;; optional. makes unpure packages archives unavailable
-  (setq package-archives nil)
-
   ;; 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")
 
   ;; optional. use this if you install emacs packages to user profiles (with nix-env)
   (add-to-list 'package-directory-list "~/.nix-profile/share/emacs/site-lisp/elpa")
-
-  (package-initialize)
 */
 
 { pkgs'