File tree 5 files changed +40
-2
lines changed
5 files changed +40
-2
lines changed Original file line number Diff line number Diff line change @@ -80,4 +80,5 @@ el-get/
80
80
/workspace /
81
81
/projects
82
82
/data /autosave
83
- /librime /
83
+ /librime /
84
+ /lisp /init-local *
Original file line number Diff line number Diff line change 45
45
46
46
47
47
; ;; Common
48
+ (use-package init-local-early)
48
49
(use-package init-common)
49
50
(use-package init-my
50
51
:bind
311
312
(use-package init-optional)
312
313
(use-package init-mu4e :commands mu4e)
313
314
(use-package init-writing)
315
+ (use-package init-local)
314
316
315
317
(message " *** Emacs loaded in %s with %d garbage collections. "
316
318
(format " %. 2f seconds"
Original file line number Diff line number Diff line change 105
105
106
106
(when window-system
107
107
(set-frame-position (selected-frame ) 0 0 )
108
- (set-frame-size (selected-frame ) 210 60 ))
108
+ (set-frame-size (selected-frame ) lo-frame-width lo-frame-height ))
109
109
110
110
(provide 'init-common )
111
111
; ;; init-common.el ends here
Original file line number Diff line number Diff line change
1
+ ; ;; init-local-early --- A place to write local configurations.
2
+ ; ;;
3
+ ; ;; Commentary:
4
+ ; ;;
5
+ ; ;; Which means this file is ignored by .gitignore, any changes won't
6
+ ; ;; commit to the repository.
7
+ ; ;; Code:
8
+
9
+ (defgroup lo nil
10
+ " Configurations of local."
11
+ :group 'convenience )
12
+
13
+ (defcustom lo-frame-width
14
+ 204
15
+ " Local frame width."
16
+ :type '(integer))
17
+
18
+ (defcustom lo-frame-height
19
+ 58
20
+ " Local frame height."
21
+ :type '(integer))
22
+
23
+ (provide 'init-local-early )
24
+ ; ;; init-local-early.el ends here.
Original file line number Diff line number Diff line change
1
+ ; ;; init-local --- A place to write local configurations.
2
+ ; ;;
3
+ ; ;; Commentary:
4
+ ; ;;
5
+ ; ;; Which means this file is ignored by .gitignore, any changes won't
6
+ ; ;; commit to the repository.
7
+ ; ;; Code:
8
+
9
+
10
+ (provide 'init-local )
11
+ ; ;; init-local.el ends here.
You can’t perform that action at this time.
0 commit comments