This commit is contained in:
Henrik Lissner 2015-08-06 12:49:32 +02:00
parent ce9e89ab0b
commit 3c9f160c16
5 changed files with 21 additions and 19 deletions

View file

@ -18,9 +18,7 @@
(evil-define-command narf:compile-el (&optional bang)
:repeat nil
(interactive "<!>")
(byte-recompile-file (f-expand "init.el" narf-emacs-dir) nil 0)
(byte-recompile-file (f-expand "init-load-path.el" narf-emacs-dir) nil 0)
(byte-recompile-file (f-expand "core.el" narf-core-dir) t 0)
(if (and (eq major-mode 'emacs-lisp-mode) (not bang))
(byte-recompile-file (buffer-file-name) t 0)
(load (concat narf-script-dir "byte-compile.el"))))