doomemacs/scripts/byte-compile.el

16 lines
727 B
EmacsLisp
Raw Normal View History

2015-06-19 23:57:59 +02:00
#!emacs --script
2015-12-22 20:12:39 -05:00
(load (concat user-emacs-directory "init-packages.el"))
2015-06-19 23:57:59 +02:00
(require 'bytecomp)
(byte-recompile-file (expand-file-name "init-load-path.el" narf-emacs-dir) nil 0)
(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 07:11:14 -05:00
(dolist (dir (list narf-core-dir narf-modules-dir narf-core-dir))
2015-06-19 23:57:59 +02: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)