-
Notifications
You must be signed in to change notification settings - Fork 5
/
init-eval.el
28 lines (23 loc) · 1.14 KB
/
init-eval.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
;; /Applications/Emacs.app/Contents/MacOS/Emacs -l ~/.emacs -l ~/Dropbox/emacs.d/config/init-eval.el -batch -f batch-byte-compile ~/Dropbox/emacs.d/config/init.el
(setq my-boot-mode nil)
(setq gc-cons-threshold (* 256 1024 1024))
(setq garbage-collection-messages t)
(setq byte-compile-warnings
'(not free-vars unresolved callargs redefine obsolete noruntime
cl-functions interactive-only make-local))
;; (setq byte-compile-warnings '(not obsolete))
(setq ad-redefinition-action 'accept)
;; For batch-mode (FIXME)
;; バッチモードで native comp する時に,("/Users/taka/.emacs.d/eln-cache/" "/Applications/Emacs.app/Contents/Frameworks/native-lisp/") のうち,後者のパスが使われないようにする.
(when (and noninteractive
(boundp 'native-comp-eln-load-path))
(setq native-comp-eln-load-path
(list (expand-file-name "eln-cache/" user-emacs-directory))))
;; packages used in utility.el for compiling without warning.
(require 'gcmh nil t)
(require 'dash nil t)
(require 'fringe-helper nil t)
(require 'transient nil t)
(require 'org-macs nil t)
(provide 'init-eval)
;;; init-eval.el ends here