-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathinit.el
More file actions
31 lines (24 loc) · 947 Bytes
/
Copy pathinit.el
File metadata and controls
31 lines (24 loc) · 947 Bytes
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
;; -*- lexical-binding: t; -*-
;; Batch checks may load init.el directly, bypassing Emacs's early-init phase.
(unless (featurep 'cat-early-init)
(let ((init-directory (file-name-directory load-file-name)))
(load (expand-file-name "early-init" init-directory) nil 'nomessage)
(package-initialize)))
(cat-benchmark 'beg)
;;; load-path
(let ((default-directory (expand-file-name "elisp" user-emacs-directory)))
(when (file-directory-p default-directory)
(add-to-list 'load-path default-directory)
(normal-top-level-add-subdirs-to-load-path)))
;;; core
(require 'cat-core (expand-file-name "core/core" user-emacs-directory))
(cat-core-initialize)
;;; ui
(add-to-list 'default-frame-alist '(fullscreen . maximized))
;;; enable
(put 'narrow-to-region 'disabled nil)
(put 'downcase-region 'disabled nil)
(put 'upcase-region 'disabled nil)
(put 'list-threads 'disabled nil)
(put 'magit-clean 'disabled nil)
(cat-benchmark 'end)