2015-06-20 05:57:59 +08:00
|
|
|
#!emacs --script
|
|
|
|
|
2016-01-31 10:16:10 +08:00
|
|
|
(load (concat user-emacs-directory "bootstrap.el"))
|
2015-06-20 05:57:59 +08:00
|
|
|
|
|
|
|
(require 'bytecomp)
|
2016-01-31 10:16:10 +08:00
|
|
|
(byte-recompile-file (expand-file-name "bootstrap.el" narf-emacs-dir) nil 0)
|
2015-06-20 05:57:59 +08:00
|
|
|
(byte-recompile-file (expand-file-name "init.el" narf-emacs-dir) nil 0)
|
|
|
|
(byte-recompile-file (expand-file-name "core.el" narf-core-dir) t 0)
|
|
|
|
(byte-recompile-file (expand-file-name "core-vars.el" narf-core-dir) t 0)
|
|
|
|
(byte-recompile-file (expand-file-name "core-defuns.el" narf-core-dir) t 0)
|
2016-01-29 20:11:14 +08:00
|
|
|
(dolist (dir (list narf-core-dir narf-modules-dir narf-core-dir))
|
2015-06-20 05:57:59 +08:00
|
|
|
(byte-recompile-directory dir 0 nil))
|
|
|
|
|
|
|
|
(byte-recompile-file (expand-file-name "my-bindings.el" narf-core-dir) t 0)
|
|
|
|
(byte-recompile-file (expand-file-name "my-commands.el" narf-core-dir) t 0)
|