diff options
author | 2020-12-21 10:53:21 +0100 | |
---|---|---|
committer | 2020-12-21 10:53:21 +0100 | |
commit | 65efbcace5f5c3330dba40081600b574ad52aec3 (patch) | |
tree | fad472f791371afcf6ccbd6baf7b6916d49acbbf | |
parent | 3d4db24bf51bacfc1a8c19ef26c58b897aa2311b (diff) | |
download | emacs.d-65efbcace5f5c3330dba40081600b574ad52aec3.tar.gz emacs.d-65efbcace5f5c3330dba40081600b574ad52aec3.tar.xz emacs.d-65efbcace5f5c3330dba40081600b574ad52aec3.zip |
Use new package-quickstart feature
-rw-r--r-- | init.org | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -81,7 +81,9 @@ loaded before ~init.el~ is read. #+name: packages-init #+begin_src emacs-lisp :tangle early-init.el :exports code (setq package-user-dir (expand-file-name "modes" user-emacs-directory) - package-gnupghome-dir (expand-file-name "gnupg" package-user-dir)) + package-gnupghome-dir (expand-file-name "gnupg" package-user-dir) + package-quickstart-file (expand-file-name "package-quickstart.el" package-user-dir) + package-quickstart t) (with-eval-after-load 'package (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)) @@ -150,7 +152,7 @@ All the following packages need to be installed: "\n" " " (replace-regexp-in-string "^- \\(.+\\)$" "\\1" - (shell-command-to-string "sed -n 92,144p init.org")))) + (shell-command-to-string "sed -n 94,146p init.org")))) #+end_src For that, we use a custom script ~install_packages.el~. This script @@ -174,7 +176,8 @@ content of this script is shown bellow: (when must-install-p (package-refresh-contents) (dolist (package ed/packages-list) - (package-install package))))) + (package-install package)) + (package-quickstart-refresh)))) #+end_src I use the org-mode tarball from the website. I've encounter some bug with |