initialize packages before anything else
This commit is contained in:
parent
b45712de26
commit
220f79481a
1 changed files with 9 additions and 8 deletions
17
init.el
17
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue