Remove vestigial code

This commit is contained in:
Henrik Lissner 2016-05-21 00:10:13 -04:00
parent b06e57fca8
commit 160e7eaa8b
2 changed files with 0 additions and 11 deletions

View file

@ -44,16 +44,6 @@
(doom--ert-pre) (doom--ert-pre)
(ert-run-tests-interactively t)) (ert-run-tests-interactively t))
;;;###autoload
(defun doom/elisp-auto-compile ()
(when (let ((file-name (buffer-file-name)))
(and (f-exists? (f-expand (concat (f-base file-name) ".elc") (f-dirname file-name)))
(--any? (f-child-of? file-name it)
(append (list doom-core-dir doom-modules-dir
doom-core-dir doom-modules-dir
doom-private-dir)))))
(doom:compile-el)))
;;;###autoload ;;;###autoload
(defun doom/elisp-inf-ielm () (defun doom/elisp-inf-ielm ()
(ielm) (ielm)

View file

@ -58,7 +58,6 @@
(2 font-lock-function-name-face)))) (2 font-lock-function-name-face))))
(add-hook 'before-save-hook 'delete-trailing-whitespace nil t) (add-hook 'before-save-hook 'delete-trailing-whitespace nil t)
(add-hook 'after-save-hook 'doom/elisp-auto-compile nil t)
(dolist (i '(("Evil Command" "\\(^\\s-*(evil-define-command +\\)\\(\\_<.+\\_>\\)" 2) (dolist (i '(("Evil Command" "\\(^\\s-*(evil-define-command +\\)\\(\\_<.+\\_>\\)" 2)
("Evil Operator" "\\(^\\s-*(evil-define-operator +\\)\\(\\_<.+\\_>\\)" 2) ("Evil Operator" "\\(^\\s-*(evil-define-operator +\\)\\(\\_<.+\\_>\\)" 2)