diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2020-05-25 13:23:25 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2020-05-25 13:23:25 -0700 |
commit | f3922d56cc624414dfde20127edec1a229d9282c (patch) | |
tree | 6008cbbb1bd857050bd80f83fc0d3d45c3cedeaa /.emacs.d/init.el | |
parent | d2cf71c6599775a9be1f9ec72854eb2141cd6f7c (diff) | |
download | dotfiles-f3922d56cc624414dfde20127edec1a229d9282c.tar.gz |
make package.el config compatible with Emacs 27
Not worth having an early-init.el just to change `package-user-dir'.
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r-- | .emacs.d/init.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index c1502bb9..daabcf28 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -19,6 +19,9 @@ (setq load-prefer-newer t) +(when (< emacs-major-version 27) + (package-initialize)) + (load (concat user-emacs-directory "init-spw")) ;;; init.el ends here |