Daniel Borchmann
ae77ece055
This is some relic from former configurations, and might have been wrong quite some time now. However, in Emacs 27+, package initialization is done before loading user-init-file, and thus we don't have to do it by hand. Before that, package initialization was done after reading user-init-file, but before calling after-init-hook, and since we needed to load some packages in the init file, we had to initialize package.el ourselves.
12 lines
359 B
EmacsLisp
12 lines
359 B
EmacsLisp
;; -*- lexical-binding: t -*-
|
|
|
|
(require 'package)
|
|
|
|
(setq package-user-dir (expand-file-name "elpa" user-emacs-directory))
|
|
|
|
(setq package-archives
|
|
'(("melpa" . "https://melpa.org/packages/")
|
|
("gnu" . "https://elpa.gnu.org/packages/")
|
|
("melpa-stable" . "https://stable.melpa.org/packages/")
|
|
("org" . "https://orgmode.org/elpa/")))
|