17 lines
636 B
EmacsLisp
17 lines
636 B
EmacsLisp
;;; -*- lexical-binding: t -*-
|
|
(setq load-prefer-newer t)
|
|
|
|
(let ((dir (file-name-directory (or load-file-name buffer-file-name))))
|
|
(add-to-list 'load-path (expand-file-name "lib/compat" dir))
|
|
(add-to-list 'load-path (expand-file-name "lib/packed" dir))
|
|
(add-to-list 'load-path (expand-file-name "lib/auto-compile" dir)))
|
|
(require 'auto-compile)
|
|
(auto-compile-on-load-mode)
|
|
(auto-compile-on-save-mode)
|
|
(setq package-enable-at-startup nil)
|
|
|
|
(with-eval-after-load 'package
|
|
(add-to-list 'package-archives (cons "melpa" "https://melpa.org/packages/") t)
|
|
(add-to-list 'package-archives (cons "org" "https://orgmode.org/elpa/") t))
|
|
|