From 220f79481ab136b2c98a560fd187306450caa9d3 Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Mon, 1 May 2023 11:08:10 +0200 Subject: [PATCH] initialize packages before anything else --- init.el | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/init.el b/init.el index 6eac734..64747b4 100644 --- a/init.el +++ b/init.el @@ -1,4 +1,13 @@ (add-to-list 'load-path "~/.emacs.d/lisp/") + +;;; package management +(require 'package) +(package-initialize) +(setq package-native-compile t + native-comp-async-report-warnings-errors nil) +;;; soruces +(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) + ;;; basic bits (require 'oxa/sane-defaults) (require 'oxa/utils) @@ -17,14 +26,6 @@ (setq-default show-trailing-whitespace t) (add-hook 'prog-mode-hook '(lambda () (whitespace-mode t))) -;;; package management -(require 'package) -(package-initialize) -(setq package-native-compile t - native-comp-async-report-warnings-errors nil) -;;; soruces -(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) - ;;; personal framework bits ;; my personal keymap (define-prefix-command 'oxamap)