-
Notifications
You must be signed in to change notification settings - Fork 0
/
init-prefix.el
33 lines (25 loc) · 1.17 KB
/
init-prefix.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
;; Taken from https://github.com/ninrod/emacs-antiproxy.
(require 'package)
(setq package-enable-at-startup nil)
(setq package-archives '(("melpa" . "~/.emacs.d/elpa-mirror/melpa/")
("org" . "~/.emacs.d/elpa-mirror/org/")
("gnu" . "~/.emacs.d/elpa-mirror/gnu/")))
(package-initialize)
(unless (package-installed-p 'use-package) ; Bootstrap John Wigley's `use-package'
(package-refresh-contents)
(package-install 'use-package))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; End of part taken from https://github.com/ninrod/emacs-antiproxy.
;; Customizations follow.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Disable check package signatures (needed as queue-0.2 signature has expired).
(setq package-check-signature nil)
;; Set whitespace's line width to big value to disable highlighting overly long lines.
(setq whitespace-line-column 500)
;; Avoid having the warnings buffer pop up.
(setq warning-minimum-level :error)
;; Disable the menu bar as it is unusable in this case.
(menu-bar-mode -1)
;; Install CIDER.
(unless (package-installed-p 'cider)
(package-install 'cider))