We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9a1977 commit 72cf37aCopy full SHA for 72cf37a
home/.emacs.d/init.el
@@ -7,6 +7,19 @@
7
8
;;; Code:
9
10
+(setq comp-speed 2)
11
+
12
+(when (boundp 'comp-eln-load-path)
13
+ (let ((eln-cache-dir (expand-file-name "eln-cache/" user-emacs-directory))
14
+ (find-exec (executable-find "find")))
15
+ ;; Quitting emacs while native compilation in progress can leave zero byte
16
+ ;; sized *.eln files behind. Hence delete such files during startup.
17
+ (when find-exec
18
+ (call-process find-exec nil nil nil eln-cache-dir
19
+ "-name" "*.eln" "-size" "0" "-delete" "-or"
20
+ "-name" "*.eln.tmp" "-size" "0" "-delete"))))
21
22
23
(defvar dotfiles-dir)
24
25
(setq dotfiles-dir (file-name-directory
0 commit comments