-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.el
77 lines (71 loc) · 1.46 KB
/
main.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
(let ((gc-cons-threshold most-positive-fixnum))
(setq sjihs-emacs-config-dir-prefix
(expand-file-name "~/.emacs-config/"))
(dolist (subdir
(directory-files (expand-file-name "~/.emacs.d/elpa/") t))
(when (and (not (string-suffix-p "." subdir)) (not (string-suffix-p ".." subdir)) (file-directory-p subdir))
(add-to-list 'load-path subdir)))
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
;; Always load config-values.el first
(setq sjihs-config-files
'(config-values.el
utils.el
bookmarks.el
btrfs-computation-helpers.el
calendar.el
compilation.el
c-programming.el
cursor-movement.el
debugging.el
diff.el
dired.el
dot.el
ediff.el
;; emms.el
epa.el
ftrace.el
generic-programming.el
;; gtags.el
helm.el
kernel-build.el
keyboard-macros.el
latex.el
lisp.el
lsp.el
magit.el
mail.el
Makefile.el
misc.el
mode-line.el
mu4e.el
notes.el
org-mode.el
package.el
process-mgmt.el
python.el
saveplace.el
server.el
shell-scripting.el
text.el
theme.el
tramp.el
version-control.el
webjump.el
;; weechat.el
windows.el
gdb.el
perf.el
calc.el
xfs.el
dir-local-vars.el))
(dolist (sjihs-config-file sjihs-config-files)
(load
(concat sjihs-emacs-config-dir-prefix (symbol-name sjihs-config-file))))
(custom-set-variables
'(custom-file (concat sjihs-emacs-config-dir-prefix "emacs-custom.el")))
(load-file custom-file)
)
;; Startup mu4e
(when (file-exists-p (expand-file-name "~/.mu/"))
(mu4e)
(set-frame-name "mail"))