summary refs log tree commit diff stats
path: root/early-init.el
diff options
context:
space:
mode:
Diffstat (limited to 'early-init.el')
-rw-r--r--early-init.el58
1 files changed, 0 insertions, 58 deletions
diff --git a/early-init.el b/early-init.el deleted file mode 100644 index 80d91db..0000000 --- a/early-init.el +++ /dev/null
@@ -1,58 +0,0 @@
1;;; early-init.el -*- lexical-binding: t -*-
2
3;; Bankruptcy: 9.4
4
5;; Debugging
6;; (setq debug-on-error t
7;; use-package-verbose t)
8;; (setq debug-on-message "Selection owner couldn’t convert: TIMESTAMP")
9
10;; Frames
11(setq default-frame-alist '((tool-bar-lines . 0)
12 (menu-bar-lines . 0)
13 (vertical-scroll-bars . nil)
14 (horizontal-scroll-bars . nil))
15 frame-inhibit-implied-resize t
16 frame-resize-pixelwise t
17 window-resize-pixelwise t
18 inhibit-x-resources t
19 indicate-empty-lines nil
20 indicate-buffer-boundaries nil)
21
22;; Packages
23(require 'package)
24(add-to-list 'package-archives
25 '("melpa" . "https://melpa.org/packages/") :append)
26(add-to-list 'package-archives
27 '("melpa-stable" . "https://stable.melpa.org/packages/") :append)
28(setq package-priorities '(("melpa" . 3)
29 ("nongnu" . 2)
30 ("gnu" . 1)
31 ("melpa-stable" . 0))
32 package-enable-at-startup nil)
33
34(package-initialize)
35(unless package-archive-contents
36 (package-refresh-contents))
37(unless (package-installed-p 'use-package)
38 (package-install 'use-package))
39
40(setq use-package-enable-imenu-support t
41 use-package-hook-name-suffix nil)
42
43(eval-when-compile
44 (require 'use-package))
45(setq use-package-compute-statistics debug-on-error)
46
47(define-advice use-package (:before (name &rest body) select)
48 "Add NAME to `package-selected-packages'."
49 (when (memq :ensure body)
50 (add-to-list 'package-selected-packages name)))
51
52;; (use-package use-package-vc
53;; :load-path "~/src/emacs/use-package-vc.el/"
54;; :config
55;; (define-advice package-vc-install (:around (orig &rest args) wtf)
56;; "Don't freak out about `package-archives' shit."
57;; (let ((package-archives nil))
58;; (apply orig args))))