mirror of https://gitlab.com/baco/dotconf.git
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:
parent
aeaf9bc692
commit
52cd15c96d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue