feat(emacs): Upgrade package initialization syntax

Previously used syntax for adding Melpa's repository to Emacs was taken
from Melpa's site itself.  But some of those commands have become
standard Emacs that load on Emacs startup.  This changes are to make use
of newer techniques for incorporating 3rd party repos into Emacs.
This commit is contained in:
Dionisio E Alonso 2024-02-06 08:12:08 -03:00
parent aeaf9bc692
commit 52cd15c96d
1 changed files with 2 additions and 3 deletions

View File

@ -25,9 +25,8 @@
(when window-system (set-frame-size (selected-frame) 85 60))
; After dealing with some nice defaults setup packages
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(package-initialize)
(with-eval-after-load 'package
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t))
(use-package vscode-dark-plus-theme
:ensure t