-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathearly-init.el
33 lines (23 loc) · 896 Bytes
/
early-init.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
;;; early-init.el --- Early Init -*- lexical-binding: t; -*-
;; SPDX-License-Identifier: GPL-3.0-or-later
;; Copyright 2013-2020, Mattias Bengtsson <[email protected]>
;; Author : Mattias Bengtsson <[email protected]>
;; Version : 20141020
;; Keywords : local
;; Package-Requires : ((emacs "29.1"))
;; URL : https://github.com/moonlite/.emacs.d
;; Compatibility : GNU Emacs: 29.x
;;; Commentary:
;; My early init file
;;; Note:
;;; Code:
(tool-bar-mode -1)
(menu-bar-mode -1)
(scroll-bar-mode -1)
(defvar mb-cache-directory
(string-replace ".config" ".cache" user-emacs-directory))
;; These has to go here apparently
(startup-redirect-eln-cache (file-name-concat mb-cache-directory "eln-cache"))
(setq package-user-dir (file-name-concat mb-cache-directory "elpa"))
(provide 'early-init)
;;; early-init.el ends here